git config --global user.email "[email protected]"
git config --global user.email
This will allow you to use VSCode for rebasing, commit messages, interactive adds, and diffing - if you edit the global git config as shown below.
## Set git editor to VSCode
git config --global core.editor "code --wait"
## View Global Git Config
git config --global -e
https://code.visualstudio.com/docs/editor/versioncontrol#_vs-code-as-git-editor
## Open Global Git Config
git config --global -e
Add the following to the global git config.
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
https://code.visualstudio.com/docs/editor/versioncontrol#_vs-code-as-git-diff-tool
Linux Brew: http://linuxbrew.sh/
sudo apt install ruby-bundler
sudo apt install code