mirror of
https://github.com/namibia/tips.git
synced 2024-11-13 08:46:29 +00:00
staged diff
This commit is contained in:
parent
157337d356
commit
168303734b
@ -98,6 +98,7 @@
|
||||
* [View the GPG signatures in the commit log](https://github.com/git-tips/tips#view-the-gpg-signatures-in-the-commit-log)
|
||||
* [Remove entry in the global config.](https://github.com/git-tips/tips#remove-entry-in-the-global-config)
|
||||
* [Checkout a new branch without any history](https://github.com/git-tips/tips#checkout-a-new-branch-without-any-history)
|
||||
* [File diff between staging and the last file version.](https://github.com/git-tips/tips#file-diff-between-staging-and-the-last-file-version)
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end toc -->
|
||||
@ -671,5 +672,10 @@ git config --global --unset <entry-name>
|
||||
git checkout --orphan <branch_name>
|
||||
```
|
||||
|
||||
## File diff between staging and the last file version.
|
||||
```sh
|
||||
git diff --staged
|
||||
```
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end -->
|
||||
|
Loading…
Reference in New Issue
Block a user