Created
June 28, 2024 10:27
-
-
Save gyorgygutai/89ade5ba7eb09277a8b4b04cd68eaa53 to your computer and use it in GitHub Desktop.
my gitconfig
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
# This is Git's per-user configuration file. | |
[user] | |
name = Gyorgy Gutai | |
email = | |
[alias] | |
l = log | |
b = branch | |
s = status | |
c = checkout | |
ci = !git checkout $(git branch -a | fzf | xargs) | |
db = !git branch -D | |
dbi = !git branch -D $(git branch -a | fzf | xargs) | |
cb = !git branch --show-current | pbcopy | |
cbi = pbcopy $(git branch --show-current | fzf | xargs) | |
cbd = checkout develop | |
cm = checkout main | |
cbm = checkout main | |
p = pull | |
pd = pull origin develop | |
pm = pull origin main | |
md = merge develop | |
nb = checkout -b | |
a = add . | |
ca = !git add . && git commit --amend | |
amend = !git add . && git commit --amend | |
la = "!git config -l | grep alias | cut -c 7-" | |
[init] | |
defaultBranch = main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment