- lab/
CLI git
·1 min
Table of Contents
created: 04/01/2019
updated: 09/03/2019
git #
twitter thread with lots of git log
commands
`git log` is arguably the most useful git command of all, yet I only ever use:
— Cindy Sridharan (@copyconstruct) August 26, 2018
`git log -S`
`git log -L`
`git log --oneline --abbrev-commit`
What are some of the others I ought to know?
- https://coderwall.com/p/euwpig/a-better-git-log
- https://salferrarello.com/using-vim-view-git-commits/
reverting
- https://stackoverflow.com/questions/927358/how-to-undo-the-most-recent-commits-in-git
- https://css-tricks.com/the-smart-ways-to-correct-mistakes-in-git/
other cheatsheets
- https://gist.github.com/hofmannsven/6814451
- https://github.com/jessfraz/dotfiles/blob/master/.gitconfig
- https://maggieappleton.com/apps
- specifically this image
- https://lukas.zapletalovi.com/2012/07/my-git-aliases-again.html
Pull Request workflow