User:Jarle Pahr/Git

From OpenWetWare
Jump to: navigation, search

Tutorials and tips

Git for scientists: A tutorial:


Code repositories


Clone repository:

git clone <URL> 

Get status of repository:

git status

Add file to tracking:

git add filename

Delete repository:

Remote add:

git remote add node-js-sample


git remote add node-js-sample
git pull node-js-sample master

Create repository and push to bitbucket:

git init
git add --all
git remote add origin <<repo-adress>>
git push origin master