mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 15:06: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]]).
|
- 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.
|
- 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]].
|
- 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",
|
"foam.openDailyNote.directory": "journal",
|
||||||
"vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT",
|
"vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT",
|
||||||
```
|
```
|
||||||
|
|
||||||
- [[push]] [[commit-template]]:
|
- [[push]] [[commit-template]]: a [[file]]
|
||||||
```
|
```
|
||||||
Default commit message, part of an automated flow.
|
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.
|
- 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:
|
- See also [[ship]]
|
||||||
```
|
|
||||||
#!/bin/sh
|
|
||||||
git add -A
|
|
||||||
git commit -a -m "$*"
|
|
||||||
git push
|
|
||||||
```
|
|
||||||
|
|
||||||
[//begin]: # "Autogenerated link references for markdown compatibility"
|
[//begin]: # "Autogenerated link references for markdown compatibility"
|
||||||
[pull]: pull "Pull"
|
[pull]: pull "Pull"
|
||||||
|
|||||||
Reference in New Issue
Block a user