You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ GitLens provides an unobtrusive blame annotation at the end of the current line,
128
128
- Provides a context menu with `Open Repository in Remote`, and `Refresh` commands
129
129
130
130
-`Branches` node — provides a list of the local branches
131
-
- Indicates which branch is the current branch
131
+
- Indicates which branch is the current branch and [optionally](#gitlens-custom-view-settings) shows the remote tracking branch
132
132
- Expand each branch to easily see its revision (commit) history
133
133
- Expand each revision (commit) to quickly see the set of files changed, complete with status indicators for adds, changes, renames, and deletes
134
134
- Provides a context menu on each changed file with `Open Changes`, `Open Changes with Working Tree`, `Open File`, `Open Revision`, `Open File in Remote`, `Open Revision in Remote`, `Apply Changes`, and `Show Commit File Details` commands
@@ -337,6 +337,7 @@ GitLens is highly customizable and provides many configuration settings to allow
337
337
|Name | Description
338
338
|-----|------------
339
339
|`gitlens.gitExplorer.view`|Specifies the starting view (mode) of the `GitLens` custom view<br />`history` - shows the commit history of the active file<br />`repository` - shows a repository explorer"
340
+
|`gitlens.gitExplorer.showTrackingBranch`|Specifies whether or not to show the tracking branch when displaying local branches in the `GitLens` custom view"
340
341
|`gitlens.gitExplorer.commitFormat`|Specifies the format of committed changes in the `GitLens` custom view<br />Available tokens<br /> ${id} - commit id<br /> ${author} - commit author<br /> ${message} - commit message<br /> ${ago} - relative commit date (e.g. 1 day ago)<br /> ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)<br /> ${authorAgo} - commit author, relative commit date<br />See https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting
341
342
|`gitlens.gitExplorer.commitFileFormat`|Specifies the format of a committed file in the `GitLens` custom view<br />Available tokens<br /> ${file} - file name<br /> ${filePath} - file name and path<br /> ${path} - file path
342
343
|`gitlens.gitExplorer.stashFormat`|Specifies the format of stashed changes in the `GitLens` custom view<br />Available tokens<br /> ${id} - commit id<br /> ${author} - commit author<br /> ${message} - commit message<br /> ${ago} - relative commit date (e.g. 1 day ago)<br /> ${date} - formatted commit date (format specified by `gitlens.statusBar.dateFormat`)<br /> ${authorAgo} - commit author, relative commit date<br />See https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting for advanced formatting
Copy file name to clipboardExpand all lines: package.json
+14-9Lines changed: 14 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -413,15 +413,6 @@
413
413
"default": null,
414
414
"description": "Specifies how all absolute dates will be formatted by default\nSee https://momentjs.com/docs/#/displaying/format/ for valid formats"
415
415
},
416
-
"gitlens.gitExplorer.view": {
417
-
"type": "string",
418
-
"default": "repository",
419
-
"enum": [
420
-
"history",
421
-
"repository"
422
-
],
423
-
"description": "Specifies the starting view (mode) of the `GitLens` custom view\n `history` - shows the commit history of the active file\n `repository` - shows a repository explorer"
"description": "Specifies the format of a committed file in the `GitLens` custom view\nAvailable tokens\n ${file} - file name\n ${filePath} - file name and path\n ${path} - file path"
434
425
},
426
+
"gitlens.gitExplorer.showTrackingBranch": {
427
+
"type": "boolean",
428
+
"default": true,
429
+
"description": "Specifies whether or not to show the tracking branch when displaying local branches in the `GitLens` custom view"
430
+
},
435
431
"gitlens.gitExplorer.stashFormat": {
436
432
"type": "string",
437
433
"default": "${message}",
@@ -442,6 +438,15 @@
442
438
"default": "${filePath}",
443
439
"description": "Specifies the format of a stashed file in the `GitLens` custom view\nAvailable tokens\n ${file} - file name\n ${filePath} - file name and path\n ${path} - file path"
444
440
},
441
+
"gitlens.gitExplorer.view": {
442
+
"type": "string",
443
+
"default": "repository",
444
+
"enum": [
445
+
"history",
446
+
"repository"
447
+
],
448
+
"description": "Specifies the starting view (mode) of the `GitLens` custom view\n `history` - shows the commit history of the active file\n `repository` - shows a repository explorer"
0 commit comments