Last active
July 19, 2018 20:22
-
-
Save weirdpattern/f39924ff57eddaff03483aaa2956da79 to your computer and use it in GitHub Desktop.
.2018.06.21.prune-deleted-remote-branches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018.06.21.prune-deleted-remote-branches |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prunes the remote repository origin | |
git fetch --prune | |
# same as above | |
git fetch -p | |
# prunes the remote repository upstream | |
git fetch upstream --prune | |
# same as above | |
git fetch upstream -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git fetch [remote] [-p | --prune] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment