728x90
https://snyk.io/blog/10-git-aliases-for-faster-and-productive-git-workflow/
10 git aliases for faster and productive git workflow
In this article, we’re featuring 10 git aliases that can help with a faster and more productive git workflow as an individual, or within a team.
snyk.io
TL;DR
# ~/.gitconfig
[alias]
s = status
co = checkout
cob = checkout -b
del = branch -D
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
save = !git add -A && git commit -m 'chore: savepoint'
undo = reset HEAD~1 --mixed
res = !git reset --hard
done = !git push origin HEAD
lg = !git log --pretty=format:\"%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) [%an]\" --abbrev-commit -30
'software engineering > pm' 카테고리의 다른 글
yarn berry pnp, pnpm (0) | 2022.09.28 |
---|---|
BrainStorming (0) | 2022.09.01 |
Daily Scrum (0) | 2022.09.01 |
회고 (Retrospective) (0) | 2022.09.01 |
Mono Repo vs Multi Repo (0) | 2022.08.29 |