Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
student:utilities:git [2024/04/23 09:30] – [Global Configuration] stewarmc | student:utilities:git [2024/10/21 11:18] (current) – [Git] kim3ey | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Git ====== | ||
[[https:// | [[https:// | ||
Line 12: | Line 13: | ||
</ | </ | ||
- | You can also open the file '' | + | You can also open the file '' |
- | ====== Global Configuration | + | ===== Global Configuration ===== |
< | < | ||
Line 26: | Line 27: | ||
excludesfile = / | excludesfile = / | ||
editor = code --wait # this will use vscode as the default editor. | editor = code --wait # this will use vscode as the default editor. | ||
- | # it assumes that you have the code command installed | + | # it assumes that you have the code command installed |
- | # and in your PATH. Note: because of the --wait option, | + | # and in your PATH. Note: because of the --wait option, |
- | # you will need to close the editor tab that git opens | + | # you will need to close the editor tab that git opens |
- | # before the git task will complete (e.g. if you commit | + | # before the git task will complete (e.g. if you commit |
- | # without a message, vscode will open an editor tab in | + | # without a message, vscode will open an editor tab in |
- | # which you should type a commit message, then if you | + | # which you should type a commit message, then if you |
- | # save that " | + | # save that " |
- | # you're done and will proceed with the commit now with | + | # you're done and will proceed with the commit now with |
- | # its message updated) | + | # its message updated) |
[init] | [init] | ||
defaultBranch = main | defaultBranch = main |