forked from qt-creator/qt-creator
Doc: Update Git docs
- Git Branches view now shows the differences between local branch and origin - The + button in Git Branches adds a branch Task-number: QTCREATORBUG-30209 Change-Id: I75909c7c196b0fd81ca38749e456bc80187b822d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
BIN
doc/qtcreator/images/qtcreator-git-add-branch.webp
Normal file
BIN
doc/qtcreator/images/qtcreator-git-add-branch.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
doc/qtcreator/images/qtcreator-git-branches.webp
Normal file
BIN
doc/qtcreator/images/qtcreator-git-branches.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.7 KiB |
@@ -309,10 +309,11 @@
|
||||
\section2 Working with Branches
|
||||
|
||||
To work with Git branches, select \uicontrol {Branches}. The
|
||||
\uicontrol {Git Branches} sidebar view shows the checked out
|
||||
branch in bold and underlined in the list of branches.
|
||||
\uicontrol {Git Branches} view shows a list of branches, as well
|
||||
as the differences between your local branches and their origin.
|
||||
The branch you checked out is shown in bold and underlined.
|
||||
|
||||
\image qtcreator-vcs-gitbranch.png {Git Branches sidebar view}
|
||||
\image qtcreator-git-branches.webp {Git Branches view}
|
||||
|
||||
Old entries and tags are filtered out of the list of branches
|
||||
by default. To include them, select \inlineimage icons/filtericon.png
|
||||
@@ -332,6 +333,20 @@
|
||||
To refresh the list of branches, select \inlineimage icons/reload_gray.png
|
||||
(\uicontrol Refresh).
|
||||
|
||||
\section3 Adding Branches
|
||||
|
||||
To create a new tracking or non-tracking branch, select
|
||||
\inlineimage icons/plus.png.
|
||||
|
||||
\image qtcreator-git-add-branch.webp {Add Branch dialog}
|
||||
|
||||
To check out the branch when creating it, select
|
||||
\uicontrol {Checkout new branch}.
|
||||
|
||||
To track the selected branch, select \uicontrol {Track local branch}.
|
||||
|
||||
\section3 Managing Branches
|
||||
|
||||
The context menu for a branch has the following functions:
|
||||
|
||||
\table
|
||||
|
Reference in New Issue
Block a user