From c85ce0941018ce34ad88afe41faa991fbb6e98b0 Mon Sep 17 00:00:00 2001 From: Charlie Date: Mon, 29 Jun 2020 13:40:10 -0700 Subject: [PATCH] Use built-in git instead of Git Automator extension This commit updates the template settings 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" 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. --- .vscode/extensions.json | 6 +----- .vscode/settings.json | 4 +++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 779333c..55baa44 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -11,16 +11,12 @@ // 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", // [[wiki-links]], backlinking etc "kortina.vscode-markdown-notes", - + // Adds `show graph` command that displays graph of linked notes "tchayen.markdown-links", diff --git a/.vscode/settings.json b/.vscode/settings.json index 696d604..ae80649 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,5 +7,7 @@ "workbench.colorTheme": "Gray Matter Light", "[markdown]": { "editor.quickSuggestions": true - } + }, + "git.enableSmartCommit": true, + "git.postCommitCommand": "sync" }