mirror of https://github.com/ojizero/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
855 B
50 lines
855 B
[user] |
|
# TODO: Move outside this file |
|
name = ojizero |
|
email = z.acnts.816@pm.me |
|
|
|
[alias] |
|
s = status --short --branch |
|
sl = status |
|
|
|
a = add |
|
ac = add . |
|
|
|
cl = clone |
|
|
|
co = checkout |
|
cob = checkout -b |
|
|
|
c = commit |
|
cm = commit --message |
|
cam = commit --all --message |
|
caa = commit --all --amend --no-edit |
|
am = commit --amend |
|
amm = commit --amend --message |
|
|
|
pl = pull |
|
ps = push |
|
psf = push --force |
|
pso = push --set-upstream origin HEAD |
|
psu = "!gpsu() { upstream=${1-upstream}; \\git push --set-upstream $upstream HEAD; }; gpsu" |
|
|
|
st = stash |
|
sp = stash push |
|
sa = stash pop |
|
sl = stash list |
|
|
|
b = branch |
|
|
|
d = diff |
|
dn = !git --no-pager diff --name-only |
|
|
|
l = !git --no-pager log -1 |
|
ll = log |
|
|
|
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi >> .gitignore" |
|
|
|
ri = rebase -i |
|
remaster = rebase master |
|
|
|
[push] |
|
followTags = true
|
|
|