Skip to content

Commit 1b2852e

Browse files
feat: add recommendation to replace 'git checkout' with 'git switch'
1 parent 3ac7240 commit 1b2852e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/check_modules.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ def check_modules():
216216
"name": "The period at the end of the command is not necessary since v9. It is recommended to remove it.",
217217
"category": "Recommendation",
218218
},
219+
"git checkout": {
220+
"name": "Replace it with `git switch`. It's not a drop-in replacement, so make sure to check the documentation.",
221+
"category": "Recommendation",
222+
},
219223
}
220224

221225
search_strings_package_json = {

0 commit comments

Comments
 (0)