Git alias' 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
[user] | |
name = tolluset | |
email = dlqud19@gmail.com | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[credential] | |
helper = osxkeychain | |
[alias] | |
s = status | |
a = add | |
au = add -u | |
aup = add -u -p | |
ap = add -p | |
anp = !git add -N . && git add -p | |
b = branch | |
c = commit | |
ca = commit --amend | |
cm = commit -m | |
d = diff | |
ds = diff --staged | |
l = log | |
lm = log --merges | |
cob = checkout -b | |
co = checkout | |
com = checkout main | |
rb = rebase | |
rbi = rebase -i | |
rbc = rebase --continue | |
rba = rebase --abort | |
sbu = submodule update --init | |
sbur = submodule update --remote | |
sbui = submodule update --init | |
rs = restore | |
rss = restore --staged | |
ig = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi" | |
fa = fetch --all | |
rv = remote -v | |
rao = remote add origin | |
pn = !git branch | grep -v \\* | egrep -v \"master|main\" | xargs git branch -D | |
ac = !git add . && git commit -am | |
st = stash | |
stpo = stash pop | |
stpu = stash push | |
stc = stash clear | |
psoh = push origin HEAD | |
[commit] | |
template = ~/.gitmessage.md | |
[pull] | |
rebase = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment