sync Arduino projects folder **to** GITHUB

Make “ArduinoProjects” repository first at github

 cd Arduino/
 echo "#Arduino Projects" >>README.md
 git init
 git add *
 git commit -m "first commit"
 git remote add origin git@github.com:<user>/ArduinoProjects.git
 git push --all origin
 git push --all origin -u

sync Arduino projects folder **from** GITHUB

cd /home/username/Arduino
git init 
git remote add origin git@github.com:<user>/ArduinoProjects.git
git pull origin master
git push --all origin -u

update repository to GITHUB

cd /home/Arduino
git push

Create local repo and Upload content to GITHUB

Make repository first at github (assuming local directoryname = reponame)

cd <reponame>
echo "# <reponame>" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:<user>/<reponame>.git
git push -u origin master
githowto.txt · Last modified: 2021/01/25 15:56 by wouter
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki