Use built-in git instead of Git Automator extension

This commit updates the git instructions
To use the built-in VS Code git integration instead of Git Automator.

- Automatically stage all changes
  "git.enableSmartCommit": true,

- Automatically push & pull changes to the remote after committing
  "git.postCommitCommand": "sync"

Updates the settings in this project to dogfood the new defaults.

This feature could be improved further
By setting a default key-binding to Git: Commit All,
And/or by automatically committing on save or focus change
For the most SaaS-like experience.

Part of issue #30 along with a PR to foambubble/foam-template.
This commit is contained in:
Charlie
2020-06-29 13:29:06 -07:00
parent 7f1509060b
commit 01b46a5d8d
4 changed files with 6 additions and 10 deletions

View File

@@ -11,10 +11,6 @@
// GitLens for seeing version history inline
"eamodio.gitlens",
// Git Automator for quick commit and push
// (Could be improved)
"ivangabriele.vscode-git-add-and-commit",
// Tons of markdown goodies (lists, tables of content, so much more)
"yzhang.markdown-all-in-one",

View File

@@ -9,5 +9,7 @@
"[markdown]": {
"editor.quickSuggestions": true
},
"cSpell.language": "en-GB"
"cSpell.language": "en-GB",
"git.enableSmartCommit": true,
"git.postCommitCommand": "sync"
}