Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[endless_lt] gitのalias使ってる?[無限LT@3]

yodaaa
September 15, 2019
74

[endless_lt] gitのalias使ってる?[無限LT@3]

yodaaa

September 15, 2019
Tweet

Transcript

  1. [alias] b = branch st = status i = init

    a = add c = checkout cm = checkout master com = commit -m p = push -u origin master open=!open $(git remote --verbose | head -n 1 | awk '{ print $2 }’) l = log --graph --date=short --pretty=\"format:%C(yellow)%h %C(cyan)%ad %C(green)%an%Creset%x09%s %C(red)%d%Creset\" la = log --oneline --decorate --graph --branches --tags --remotes わたしのalias