Last active
January 25, 2022 19:14
-
-
Save mikeqcp/a1720615125d6532dda4c771d4e311df to your computer and use it in GitHub Desktop.
Useful git aliases
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 config --global alias.co checkout | |
git config --global alias.cm 'commit -m' | |
git config --global alias.st status | |
git config --global alias.graph 'log --all --decorate --oneline --graph' | |
git config --global alias.pfl 'push --force-with-lease' | |
git config --global alias.fs 'flow feature start' | |
git config --global alias.fs '!bt() { git checkout -b feature/$1;}; bt' | |
git config --global alias.fxs '!bt() { git checkout -b fix/$1;}; bt' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment