mirror of
https://github.com/flancian/garden.git
synced 2026-08-06 22:46:19 +00:00
Default commit message, part of an automated flow.
This commit is contained in:
+5
-11
@@ -6,18 +6,18 @@
|
||||
- Some changes to [[keybindings.json]] in your global (user scope) ```.config/Code/user/``` directory so that you can use shortcuts such as ```ctrl-alt-s``` (save all changes locally) and ```ctrl-shift-a) (push changes to the [[agora]]).
|
||||
- Optional additional [[git config]] to make submitting to your git hosted digital garden (and transitively to the [[agora]]) easier/less work.
|
||||
- In particular, a [[commit template]] so that you don't need to write a change description every time you want to push to the [[agora]].
|
||||
- [[push]] [[settings.json]]:
|
||||
- [[push]] [[settings.json]]: a [[file]]
|
||||
```
|
||||
"foam.openDailyNote.directory": "journal",
|
||||
"vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT",
|
||||
```
|
||||
|
||||
- [[push]] [[commit-template]]:
|
||||
- [[push]] [[commit-template]]: a [[file]]
|
||||
```
|
||||
Default commit message, part of an automated flow.
|
||||
```
|
||||
|
||||
- [[push]] [[keybindings.json]] (global):
|
||||
- [[push]] [[keybindings.json]] (global): a [[file]]
|
||||
```
|
||||
[
|
||||
{
|
||||
@@ -46,14 +46,8 @@ Default commit message, part of an automated flow.
|
||||
}
|
||||
]
|
||||
```
|
||||
- This results in being able to press ctrl-shift-s to save all files; and ctrl-shift-a to push changes to the [[agora]] without the need to write a commit message.
|
||||
- [[push]] [[ship]], a very simple script / .bashrc function:
|
||||
```
|
||||
#!/bin/sh
|
||||
git add -A
|
||||
git commit -a -m "$*"
|
||||
git push
|
||||
```
|
||||
- This results in being able to press ```ctrl-shift-s``` to save all files; and ```ctrl-shift-a``` to push changes to the [[agora]] without the need to write a commit message.
|
||||
- See also [[ship]]
|
||||
|
||||
[//begin]: # "Autogenerated link references for markdown compatibility"
|
||||
[pull]: pull "Pull"
|
||||
|
||||
Reference in New Issue
Block a user