Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 522 Bytes

001-git-basics.md

File metadata and controls

20 lines (10 loc) · 522 Bytes

Some basic git commands I used today to set this up:

git init initialises a local repository

git add stages the work to Index

git commit -m "comment" saves the work to the repository

Now the locally saved work can be added to the remote repository.

First you want to connect to the remote server: git remote add origin git@github.com:SophMC/notechain

git push -u origin master -u is added the first time, after that you just need to be inside the local repo that you want to push and type git push