Created
December 6, 2021 18:43
-
-
Save autonomousapps/1df2bf3644c0208b4a367d15643e4885 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.lg log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
alias.last log -1 HEAD | |
alias.unstage reset HEAD -- | |
alias.amend commit --amend --no-edit | |
alias.co checkout | |
alias.alias config --get-regexp ^alias\. | |
alias.st status | |
alias.up push --force-with-lease | |
alias.aa !git add . && git commit --amend --no-edit | |
alias.fix !git add . && git commit --amend --no-edit && git push --force-with-lease | |
alias.squash !git rebase -i --autosquash | |
alias.nb !ga() { git checkout -b trobalik/$1; }; ga | |
alias.db !ga() { git branch -D $1; }; ga |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment