GitHub accelerator

Initialising

Go into your local folder and make it suitable for git.

git init

Build a connection between local and remote repository.

git remote add origin https://github.com/wofuerGitHub/Fundamentals_Overview.git

Create a remote git-repository – easiest to remember – with the same folder name.

Add all local files.

git add .

Create a first commit called “init”.

git commit -m "init"

With the first upload define the standard branch.

git push --force --set-upstream origin master

Information about the repository-status

Getting all available information about the repository.

git status

Push local changes

To push your local changes to the repository.

git add .
git commit -m "message"
git push

Pull remote changes

To get the newest changes in the repository to your local storage.

git pull

Clone repository

To get a complete repository locally installed.

git clone https://github.com/wofuerGitHub/Fundamentals_Overview.git

Further information

Special thanks to Roger Dudler and Thomas Leister for their instructions.