forked from qt-creator/qt-creator
Doc: Describe viewing diff of staged changes
Task-number: QTCREATORBUG-32575 Change-Id: I57bf02a18a2124ecc9cb54caeb66bce0b0310aa9 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
1
dist/changelog/changes-17.0.0.md
vendored
1
dist/changelog/changes-17.0.0.md
vendored
@@ -188,6 +188,7 @@ Version Control Systems
|
||||
values
|
||||
* Added actions for staged changes
|
||||
([QTCREATORBUG-32361](https://bugreports.qt.io/browse/QTCREATORBUG-32361))
|
||||
([Documentation](https://doc-snapshots.qt.io/qtcreator-17.0/creator-how-to-git-diff.html))
|
||||
* Added `Revert` to the actions in the `Instant Blame` tooltip
|
||||
* Added the option to create annotated tags to the `Create Branch` dialog
|
||||
* Added a `Diff & Cancel` option to the `Uncommitted Changes Found` dialog
|
||||
|
@@ -286,6 +286,21 @@
|
||||
\li Removes the selected lines from the staging area.
|
||||
\endtable
|
||||
|
||||
To view a diff of staged changes:
|
||||
|
||||
\list
|
||||
\li To view staged changes in the current file, go to \uicontrol Tools >
|
||||
\uicontrol Git > \uicontrol {Current File} and select
|
||||
\uicontrol {Diff Staged Changes in <file>}.
|
||||
\li To view staged changes in the current project directory, go to
|
||||
\uicontrol Tools > \uicontrol Git >
|
||||
\uicontrol {Current Project Directory} and select
|
||||
\uicontrol {Diff Staged Directory of <project directory> Changes}.
|
||||
\li To view staged changes in the local repository, go to
|
||||
\uicontrol Tools > \uicontrol Git > \uicontrol {Local Repository} and
|
||||
select \uicontrol {Diff Staged}.
|
||||
\endlist
|
||||
|
||||
\if defined(qtcreator)
|
||||
\sa {Use Git}{How To: Use Git}, {Git}
|
||||
\endif
|
||||
|
Reference in New Issue
Block a user