Jörg Vollrath, University of Applied Science Kempten, Germany, Joerg.vollrath@hs-kempten.de
March, 2024
Overview
Initialization
Initialization NodeEEBench (Transfer of files from local drive to github)
Install git at your local computer.
With the browser go to https://github.com/JVollrath
A new public repository with the name NodeEEBench is created in the browser.
Open a command line window and got to the directory containing all files.
cd <myDirectory>
git init
git add .
git commit -m "Vorhandene Projektdaten vor dem Push an Github hinzufügen"
git remote add origin https://github.com/JVollrath/NodeEEBench.git
git push -u -f origin master
All files are uploaded to Github.
Downloading the project to local PC
Updating local directory with:
git pull origin master
Updating github repository:
git pull origin "branch name" // get name of cirrent branch should be master
git add // adds a new file to git
git commit -m "Comment what is done" // commits to project
git push origin master // push files to git master