chore(docs): list subcommands and default behavior for git script
This commit is contained in:
parent
087f65653e
commit
d31bfdfafb
3 changed files with 7 additions and 2 deletions
|
@ -25,7 +25,10 @@ $ vim ~/ayo.conf
|
||||||
1. journal - creates a new journal entry if it doesn’t exist yet; opens on editor
|
1. journal - creates a new journal entry if it doesn’t exist yet; opens on editor
|
||||||
1. append - append one thought at the end of the day's entry
|
1. append - append one thought at the end of the day's entry
|
||||||
1. notes - notes management
|
1. notes - notes management
|
||||||
1. git - git tools
|
1. git (g) - git tools; default behavior is gs, gc, then gp ...
|
||||||
|
1. stat (gs) - git status
|
||||||
|
2. commit (gc) - git commit (reads for message, accepts args as list of files to commit)
|
||||||
|
3. push (gp) - git push
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
1. Autosync for notes & journal via git
|
1. Autosync for notes & journal via git
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# NOTE: config should be loaded by the script using this shared functions.sh
|
||||||
|
|
||||||
# Sync notes via git
|
# Sync notes via git
|
||||||
notesSync() {
|
notesSync() {
|
||||||
{
|
{
|
||||||
|
|
2
git.sh
2
git.sh
|
@ -47,6 +47,6 @@ elif [ "$1" = "push" ]; then
|
||||||
gitPush
|
gitPush
|
||||||
else
|
else
|
||||||
gitStatus
|
gitStatus
|
||||||
gitCommit
|
gitCommit $2 $3 $4 $5 $6 $7 $8 $9
|
||||||
gitPush
|
gitPush
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue