Last active
June 15, 2023 18:51
-
-
Save xjeeh/721a70cea02677efa7e111e0b94d730c to your computer and use it in GitHub Desktop.
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
[user] | |
email = xjeehz@gmail.com | |
name = Jefferson Santos | |
[alias] | |
lazy = "!f() { git add .; git commit --amend --no-edit; git push -f origin HEAD; }; f" | |
delete-all = "!f() { git branch | grep -v 'develop' | grep -v 'master' | xargs git branch -D; }; f" | |
[init] | |
defaultBranch = main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment