Skip to content

Instantly share code, notes, and snippets.

1. git init = initials a new Repository.
2. git add . = Adds new changes to the repository.
4. git commit -m "descriptive sentence" = describes changes in the current commit.
5. git remote add origin {origin} ( only needed the first time ) = connects the local git repository with the newly created on github.com
6. git push origin {branch} = uploads local git repository on {branch}.