Disable 'git switch' along with 'git checkout'

This commit is contained in:
SPGoding 2021-08-06 14:35:50 -05:00
parent 6a34664a6c
commit 442d693a0a
No known key found for this signature in database
GPG key ID: 3A778B858EB3DF38
2 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,8 @@ exports.level = {
"compareAllBranchesAndEnforceBranchCleanup": true,
"disabledMap": {
"git branch": true,
"git checkout": true
"git checkout": true,
"git switch": true
},
"goalTreeString": "{\"branches\":{\"main\":{\"target\":\"C1\",\"id\":\"main\",\"remoteTrackingBranchID\":\"o/main\"},\"o/main\":{\"target\":\"C1\",\"id\":\"o/main\",\"remoteTrackingBranchID\":null},\"bar\":{\"target\":\"C1\",\"id\":\"bar\",\"remoteTrackingBranchID\":null}},\"commits\":{\"C0\":{\"parents\":[],\"id\":\"C0\",\"rootCommit\":true},\"C1\":{\"parents\":[\"C0\"],\"id\":\"C1\"}},\"HEAD\":{\"target\":\"main\",\"id\":\"HEAD\"},\"originTree\":{\"branches\":{\"main\":{\"target\":\"C1\",\"id\":\"main\",\"remoteTrackingBranchID\":null}},\"commits\":{\"C0\":{\"parents\":[],\"id\":\"C0\",\"rootCommit\":true},\"C1\":{\"parents\":[\"C0\"],\"id\":\"C1\"}},\"HEAD\":{\"target\":\"main\",\"id\":\"HEAD\"}}}",
"solutionCommand": "git push origin :foo;git fetch origin :bar",