mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
added another command to see staged diff (#139)
This command is an alternative to view all the changes in the staged files.
This commit is contained in:
parent
b7d9be9af9
commit
5599a75b7f
@ -237,7 +237,8 @@ $ git add --patch filename.x
|
||||
$ git add -N filename.x
|
||||
```
|
||||
|
||||
Then, you will need to use the `e` option to manually choose which lines to add. Running `git diff --cached` will show you which lines you have staged compared to which are still saved locally.
|
||||
Then, you will need to use the `e` option to manually choose which lines to add. Running `git diff --cached` or
|
||||
`git diff --staged` will show you which lines you have staged compared to which are still saved locally.
|
||||
|
||||
|
||||
<a href="stage-in-two-commits"></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user