Skip to content

Instantly share code, notes, and snippets.

@richxcame
Last active March 25, 2022 21:25
Show Gist options
  • Save richxcame/51ac89ba91cf8f9773d437e7a432ec81 to your computer and use it in GitHub Desktop.
Save richxcame/51ac89ba91cf8f9773d437e7a432ec81 to your computer and use it in GitHub Desktop.
[user]
name = Baygeldi Cholukov
email = baygeldicolukov@gmail.com
[alias]
a = add
al = add .
#############
b = branch
ba = branch --all
bd = branch -d
bD = branch -D
br = branch -r
#############
l = log
lo = log --oneline
#############
ap = apply
as = apply --stat
ac = apply --check
#############
pl = pull
pb = pull --rebase
#############
c = commit
ca = commit -a
cm = commit -m
cam = commit -am
cem = commit --allow-empty -m
cd = commit --amend
cad = commit -a --amend
ced = commit --allow-empty --amend
#############
cp = cherry-pick
cpa = cherry-pick --abort
cpc = cherry-pick --continue
#############
d = diff
dp = diff --patience
dc = diff --cached
dk = diff --check
dck = diff --cached --check
dt = difftool
dct = difftool --cached
#############
f = fetch
fo = fetch origin
fu = fetch upstream
fp = fetch -p
#############
cl = clone
cld = clone --depth 1
clg = !sh -c 'git clone git://github.com/$1 $(basename $1)' -
clgp = !sh -c 'git clone git@github.com:$1 $(basename $1)' -
clgu = !sh -c 'git clone git@github.com:$(git config --get user.username)/$1 $1' -
#############
ps = push
pod = push origin --delete
psu = push --set-upstream origin
#############
s = status
#############
co = checkout
cb = checkout -b
[core]
excludesfile = /Users/baygeldicolukovgmail.com/.gitignore_global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment