Date and Time Display
dateFormat
Specifies the date format to be used in the date column of Git Graph.Available options:
"Date & Time"- Show the date and time, for example “19 Mar 2019 21:34”"Date Only"- Show the date only, for example “19 Mar 2019”"Relative"- Show relative times, for example “5 minutes ago”
dateType
Specifies the date type to be displayed throughout Git Graph.Available options:
"Author Date"- Use the author date of a commit (when the changes were originally made)"Commit Date"- Use the committer date of a commit (when the commit was applied to the branch)
The difference between author and commit dates is important when commits are rebased or cherry-picked. The author date preserves the original creation time, while the commit date reflects when the commit was applied.
Graph Appearance
graphColours
Specifies the colours used on the graph for different branches. Colors must be specified in HEX or RGB format.Default colors:
graphStyle
Specifies the style of the graph when transitioning between branches.Available options:
"rounded"- Use smooth curves when transitioning between branches"angular"- Use angular lines when transitioning between branches
UI Elements
tabIconColourTheme
Specifies the colour theme of the icon displayed on the Git Graph tab.Available options:
"colour"- Show a colour icon which suits most Visual Studio Code colour themes"grey"- Show a grey icon which suits Visual Studio Code colour themes that are predominantly grayscale
autoCenterCommitDetailsView
Automatically center the commit details view when it is opened.When enabled, the graph will automatically scroll to center the selected commit when you click on it to view its details.
showStatusBarItem
Show a Status Bar item which opens Git Graph when clicked.When enabled, a clickable item appears in the VS Code status bar (bottom of the window) that provides quick access to open the Git Graph view.
showCurrentBranchByDefault
Show the current branch by default when Git Graph is opened.When enabled, the graph will automatically filter to show only the current branch when you first open Git Graph. When disabled (default), all branches are shown.