Created
July 9, 2021 19:29
-
-
Save gut5/b36f67cbcb90556fc514fb522282ce7c to your computer and use it in GitHub Desktop.
Useful Git things
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for seeing who has committed how much to your project | |
git shortlog -sn --all --no-merges | |
# See who last changed lines 5 through 10 of the buttons’ CSS: | |
git blame -L5,10 _components.buttons.scss | |
# easier to see diff changes | |
git diff -w | |
git diff --word-diff | |
# see what everyone worked on | |
git log --all --oneline --no-merges | |
# generate changelog | |
git log --oneline --no-merges <last tag>..HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment