Fetch URL : git @ github . com : xxx / xxx . git Push URL : git @ github . com : xxx / xxx . git HEAD branch : master Remote branches : master tracked refs / remotes / origin / b1 stale ( use 'git remote prune' to remove ) Local branch configured for 'git pull' : master...
$ git remote show origin * remote origin Fetch URL: git@github.com:xxx/xxx.git Push URL: git@github.com:xxx/xxx.git HEAD branch: master Remote branches: master tracked refs/remotes/origin/b1 stale (use 'git remote prune' to remove) Local branch configured for 'git pull': master merges...
refs/remotes/origin/issue-11 stale (use 'git remote prune' to remove) Local branches configured for 'git pull': dev-branch merges with remote dev-branch master merges with remote master Local refs configured for 'git push': dev-branch pushes to dev-branch (up to date) markdown-strip push...
git remote show <remote_name> $ git remote show origin*remote origin Fetch URL: https://github.com/***/git-practice.gitPush URL: https://github.com/***/git-practice.gitHEAD branch: main Remote branches: main tracked refs/remotes/origin/feature/test2 stale (use'git remote prune'to remov...
Deletes stale references associated with <name>. By default, stale remote-tracking branches under <name> are deleted, but depending on global configuration and the configuration of the remote we might even prune local tags that haven’t been pushed there. Equivalent togit fetch --prune <name>...
git remote show origin remote origin Fetch URL: git@github.com:xxx/xxx.git Push URL: git@github.com:xxx/xxx.git HEAD branch: master Remote branches:master tracked refs/remotes/origin/b1 stale (use 'git remote prune' to remove)Local branch configured for 'git pull':master ...
Remote branches: master tracked refs/remotes/origin/feature1 stale (use 'git remote prune' to remove) Local branch configured for 'git pull': master merges with remote master Local ref configured for 'git push': master pushes to master (up to date) ...
Deletes all stale remote-tracking branches under <name>. These stale branches have already been removed from the remote repository referenced by <name>, but are still locally available in "remotes/<name>". With--dry-runoption, report what branches will be pruned, but do not actually prune ...
git push remote --delete branch Now, follow the steps mentioned to understand how to delete a remote branch using the git push -d command. Firstly, fetch all the remote branches that exist on the forked docs repository using the git fetch command: git fetch origin Here, origin is an ali...
refs/remotes/origin/br03 stale (use'git remote prune'to remove) Local branches configuredfor'git pull': br01 merges with remote br01-remote br03 merges with remote br03 master merges with remote master Local refs configuredfor'git push': ...