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: src/constants.ts
+13-18Lines changed: 13 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -59,33 +59,28 @@ export type GitCoreConfigKeys =
59
59
|'init.defaultBranch'
60
60
|'user.signingkey';
61
61
62
-
/**
63
-
* `gk-merge-target` means the branch that the current branch is most likely to be merged into, e.g.
64
-
* - branch to compare with by default
65
-
* - default target for creating a PR
66
-
* - etc.
67
-
*
68
-
* `gk-merge-target-user` — merge target branch explicitly defined by user,
69
-
* if it's defined we use this value instead of `gk-merge-target`, but we keep storing `gk-merge-target` value that was determined automatically.
70
-
*
71
-
* `gk-merge-base` means the branch that the current branch originates from, e.g. what was the base in the moment of creation.
72
-
* This value is used for: ... (TODO describe use cases).
73
-
*
74
-
* `vscode-merge-base` — value determined by VS Code that is used to determine the merge base for the current branch.
75
-
* once `gk-merge-base` is determined, we stop using `vscode-merge-base`
76
-
*
77
-
*/
78
62
exporttypeGitConfigKeys=
63
+
|GitCoreConfigKeys
64
+
/** `vscode-merge-base` — value determined by VS Code that is used to determine the merge base for the current branch. Once `gk-merge-base` is determined, we stop using `vscode-merge-base` */
79
65
| `branch.${string}.vscode-merge-base`
66
+
/** `github-pr-owner-number` — value determined by VS Code/GitHub PR extension that is used to determine the PR number for the current branch */
67
+
| `branch.${string}.github-pr-owner-number`;
68
+
69
+
exporttypeGkConfigKeys=
70
+
/** `gk-merge-base` — the branch that the current branch was created from (the original base at branch creation time) */
80
71
| `branch.${string}.gk-merge-base`
72
+
/** `gk-merge-target` — the auto-detected branch that the current branch will likely be merged into (used for comparisons, PR targets, etc.) */
0 commit comments