Skip to content

Git Setup

git setup

Install git on Ubuntu via the following command:

fjp@ubuntu:~/git/2wd-robot$ sudo apt install git

Set your username and email address that you use on github (when using github to host your repository):

fjp@ubuntu:~$ git config --global "fjp"
fjp@ubuntu:~$ git config --global ""

To store your password credentials when pushing and pulling to the remote repository use the following commands:

fjp@ubuntu:~/git/2wd-robot$ git config --global credential.helper store
fjp@ubuntu:~/git/2wd-robot$ git push
Username for '': fjp
Password for '': 
Everything up-to-date
fjp@ubuntu:~/git/2wd-robot$ git push
Everything up-to-date


Back to top