Created
January 18, 2023 20:32
-
-
Save srehaider/340e240fdcbaa08fe3e4846f29105d60 to your computer and use it in GitHub Desktop.
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.com !git checkout "$(basename $(git symbolic-ref refs/remotes/origin/HEAD))" && git pull | |
alias.co checkout | |
alias.st status | |
alias.br branch | |
alias.cb checkout -b | |
alias.cm !git checkout "$(basename $(git symbolic-ref refs/remotes/origin/HEAD))" | |
alias.update !git fetch && git rebase "origin/$(basename $(git symbolic-ref refs/remotes/origin/HEAD))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added force update
fupdate
andundo
aliases.