mirror of
https://github.com/flancian/garden.git
synced 2026-08-06 06:26:20 +00:00
Auto: misc.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Auto Commit Messages
|
||||
|
||||
- [[jonathan]] and [[luciana]] both complained about having to write commit messages in [[foam]] when using the [[agora]].
|
||||
- The solution is:
|
||||
- Create a text file in your garden; I call mine ```commit.txt```.
|
||||
- Write in it whatever you would like all your commit messages to default to; you can just press enter and get whatever you have in this file.
|
||||
- Run this in that directory: ```git config --local commit.template commit.txt```
|
||||
- In VSCode, you can press ctrl-shift-c and get a terminal in which you should be able to paste that command. Presumably :) Let me know if this doesn't work for you!
|
||||
- Optional: bind a key to "commit all":
|
||||
- Press ctrl-k ctrl-s (this means to hold control and press k and s in succession).
|
||||
- Type 'commit all' to find the matching command.
|
||||
- Double click on it, press ctrl-shift-a, enter.
|
||||
- Now you can press ctrl-shift-a and all files will be saved and then submitted to your git repo, and from there to the Agora<!-- -->.
|
||||
|
||||
|
||||
[//begin]: # "Autogenerated link references for markdown compatibility"
|
||||
[jonathan]: jonathan "Jonathan"
|
||||
[luciana]: luciana "Luciana"
|
||||
[foam]: foam "Foam"
|
||||
[agora]: agora "Agora"
|
||||
[//end]: # "Autogenerated link references"
|
||||
@@ -27,5 +27,7 @@
|
||||
[ubi-zurich]: ../ubi-zurich "UBI Zurich"
|
||||
[stephen-wolfram]: ../stephen-wolfram "Stephen Wolfram"
|
||||
[bodhisattva-vow]: ../bodhisattva-vow "Bodhisattva Vow"
|
||||
[auto-commit-messages]: ../auto-commit-messages "Auto Commit Messages"
|
||||
[alan-laidlaw]: ../alan-laidlaw "Alan Laidlaw"
|
||||
[human-computer-interaction]: ../human-computer-interaction "Human Computer Interaction"
|
||||
[//end]: # "Autogenerated link references"
|
||||
Reference in New Issue
Block a user