Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.21 KB

git-setup.md

File metadata and controls

22 lines (14 loc) · 1.21 KB

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 user.name "fjp"
fjp@ubuntu:~$ git config --global user.email "franz.pucher@gmail.com"

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 'https://github.com': fjp
Password for 'https://fjp@github.com': 
Everything up-to-date
fjp@ubuntu:~/git/2wd-robot$ git push
Everything up-to-date