Last active
October 7, 2024 15:48
-
-
Save arizz96/28a58103614b9395d89a70cc5a28f5ec to your computer and use it in GitHub Desktop.
Global git configuration
This file contains hidden or 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
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[user] | |
name = ... | |
email = ... | |
[core] | |
editor = nano | |
[alias] | |
squash = "!sh -c \"git merge --squash $1 && git commit -m '[SQUASHED] $1'\"" | |
reset-origin = "!sh -c \"git fetch origin `git branch --show-current` && git reset --hard origin/`git branch --show-current`\"" | |
irebase = "!sh -c \"git rebase -i $1^\"" | |
rebase-continue = "!sh -c \"git add . && GIT_EDITOR=true git rebase --continue\"" | |
[pull] | |
rebase = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment