dots/.gitaliases
Yongmin Hong 30c04e1cb6
deploy.sh: add deploy commands
Summary:
Also change gitconfig and gitalias to be @ $HOME.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Try `sh deploy.sh` AT YOUR OWN RISK.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D60
2024-05-09 20:44:27 +09:00

30 lines
760 B
Text

[alias]
co = checkout
cm = commit -s
st = status
br = branch -v
fa = fetch --all
graph = log --pretty=format:\"%h %s\" --graph
fo = fetch origin
usync = rebase upstream/master
usyncm = rebase upstream/main
osync = rebase origin/master
osyncm = rebase origin/main
aal = add *
po = push origin master
pom = push origin main
amend = commit --amend -s
cmt = commit -S -s
amends = commit --amend -S -s
acmt = commit -a -S -s
acm = commit -a -s
fup = fetch upstream
com = checkout master
comm = checkout main
por = push origin
cob = checkout -b
# below are non-git command, signified via `!` in the comment
# https://issuetracker.revi.xyz/u/gitalias
arcdiff = !arc diff
arcpatch = !arc patch
arcland = !arc land