feat(scripts): modify gen_commit.py to enhance commit message generation
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
How to show uncommitted changes in Git
|
||||
|
||||
The command you are looking for is git diff.
|
||||
|
||||
git diff - Show changes between commits, commit and working tree, etc
|
||||
|
||||
Here are some of the options it expose which you can use
|
||||
|
||||
git diff (no parameters)
|
||||
Print out differences between your working directory and the index.
|
||||
|
||||
git diff --cached:
|
||||
Print out differences between the index and HEAD (current commit).
|
||||
|
||||
git diff HEAD:
|
||||
Print out differences between your working directory and the HEAD.
|
||||
|
||||
git diff --name-only
|
||||
Show only names of changed files.
|
||||
|
||||
git diff --name-status
|
||||
Show only names and status of changed files.
|
||||
Reference in New Issue
Block a user