Set git up fast

2019-06-01

Written by Alan Vardy
Tagged with  git  linux

Install git using the package manager of your choice.

and then configure with the following commands, this will set your code to Visual Studio Code

git config --global user.name "Your Name"
git config --global user.email you@email.com
# This sets VS code as your code editor
git config --global core.editor "code" # Sets the git editor to VS Code
# Some nice completely optional commands
sudo npm install -g git-removed-branches
sudo pip install git-sweep || easy_install git-sweep

Related Posts