Last active
January 27, 2018 03:37
-
-
Save lloydmeta/a3c6be068693dd8e9e1e67e8276a2047 to your computer and use it in GitHub Desktop.
git refresh-from upstream
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
[alias] | |
retest-commit = commit --allow-empty -m \"Retest - empty commit\" | |
current-remote = !git config branch.`git name-rev --name-only HEAD`.remote | |
current-branch = symbolic-ref --short HEAD | |
refresh-from = !git pull $1 $(git current-branch) && git push && : | |
refresh-master = !git fetch -fu $1 master:master && git push $(git current-remote) master && : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment