Last active
September 2, 2020 13:16
-
-
Save aambrozkiewicz/b972030d579cc3f82d28fd4a199164fb to your computer and use it in GitHub Desktop.
git aliases that I use
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] | |
co = checkout | |
cob = checkout -b | |
st = status | |
ci = commit | |
chp = cherry-pick | |
p = pull | |
amend = checkout --amend | |
branch-name = !git branch --show-current | |
publish = !git push -u origin HEAD:$(git branch-name) | |
trynow = !git add . && git ci --amend --no-edit && git push --force-with-lease |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment