LoginSignup
0
1

More than 5 years have passed since last update.

git aliasのメモ

Posted at

オレオレ省略なので一般的でないですが参考になれば幸いです・

st = status
cm = commit
cma = commit --amend -m
ps = push origin
psd = push origin develop
psm = push origin master
pl = pull origin
pld = pull origin develop
plm = pull origin master
ch = checkout
cha = !git checkout -f . && git status
chde = checkout develop
chma = checkout master
chth = checkout --theirs
cl = clean
cla = !git clean -f . && git status
rf = !git checkout -f . && git clean -f . && git clean -df && git status
re = reset --hard
ada = !git add . && git status
di = diff
br = branch
ss = stash
sspd = !git stash && git pld
sspm = !git stash && git plm
ssp = stash pop
ssl = stash list
sss = stash show
me = merge --no-ff
ge = grep
cp = cherry-pick
fe = fetch
ta = log --graph --branches --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(green)- %an, %cr%Creset'
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1