This is a series of articles related to Git GUI Clients.
Note. Although Git is very popular in the software development process, there is no category defined in this C # Corner site. So, we put the articles under the DevOps category.
When we discuss these Client GUI for Git, we concentrate on these following features associated with the specific Client GUI::
- Visual Studio, VS Code
- Repos Management (Local):
- Create a Repository, Branch
- Clone a Repository
- Merge, Rebase, Reset, Revert a Branch...
- Interaction between Local Repos and Remote
- Editor (+ the original environment functionalities, such as compiling, debugging, and so on)
- GitHub Desktop, TortoiseGit, SmartGit
- Repos Management (Local)
- Interaction between Local Repos and Remote
- GitHub Server
- Repos Management (Remote)
- Interaction between Repos and Server automation (pipeline)
A - Introduction
In this article, we will describe VS Code as a GUI client and its major features. The content of this article:
- A: Introduction
- B: Source Control Checkout
- C: Command Line:
- D: Timeline Panel
- E: Source Control Panel => View and More Actions
B - Source Control Checkout
From the left bottom corner => Click the Branch sign (main now) => A dropdown list beneath the search or command input window on the middle top of the screen is shown
In the list, the branches and the command to Create a Branch are shown, such as
- Create new branch
- Create a new branch from
- Branches
- Remote Branches
- Tags
The branch is associated with a commit number, which feature is not seen from Visual Studio Client, and is a powerful feature.
C - Command Line
Click Search Window in the middle of the top line => a Command list is shown:
Click More ?:=> Show all of the list:
From the dropdown list, Click Show and Run Commands:
A Command list is shown:
Type git => Git Commands will be shown:
Type Timeline=> Click Explorer: Focus on Timeline View:
Or even just Type Tim=> Click Explorer: Focus on Timeline View:
Timeline Panel will be shown at the location on the Left Bottom
D - Timeline Panel
Timeline Panel can also be accessed by Click Explorer on the Left Top icons => Click Timeline at the left bottom
To open the dropdown box for timeline details => Click the Timeline Filter Icon (right-second icon on the top of Timeline):
Two types of timelines are shown:
- Git History: from Git system history
- Local History: from local VS code
such as
Git History:
Local History:
Highlight one commit of the history; it will show the details
Find the difference between the current commit and the commit you Click
E - Source Control Panel => View and More Actions
From the Left Top corner => Click the top third icon. Source Control => Click the top line right corner in the left panel (View and more actions) sign
A dropdown list is shown => Click View
Click View & Sort:
Click Incoming & Outcoming:
Click Commit:
Click Changes:
Click Pull, Push:
Click Branch:
Click Remote:
Click Stash:
Click Tags:
References