Last active
February 29, 2024 23:42
-
-
Save carmanchris31/f502f6d18c18b6eeca8f105e4b70cf3a to your computer and use it in GitHub Desktop.
Git base config
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
[core] | |
excludesfile = ~/.gitignore | |
[fetch] | |
prune = true | |
pruneTags = true | |
[pull] | |
ff = only | |
[rebase] | |
autosquash = true | |
[alias] | |
# these require `brew install fzf` | |
fc = "!git checkout $(git branch | fzf)" | |
fca = "!git checkout $(git branch -a | fzf | sed -e 's# *remotes/origin/##')" | |
fd = "!git branch -D $(git branch | fzf --multi)" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment