User:Jarle Pahr/Git

From OpenWetWare

Jump to: navigation, search

http://genome.sph.umich.edu/wiki/How_To_Use_Git

http://kbroman.github.io/github_tutorial/

http://www.biostars.org/p/78858/

http://prezi.com/lyeblds4tqek/git-revision-control-in-the-sciences/


Contents

Tutorials and tips

http://www.codecademy.com/groups/html-projects/discussions/5177d3a1758e99b46e003d6a

https://www.atlassian.com/git?utm_source=cac-bitbucket-1&utm_medium=banner&utm_content=visual-git-guides&utm_campaign=git-tutorial

http://gitref.org/basic/

http://gitready.com/


http://ftp.newartisans.com/pub/git.from.bottom.up.pdf

http://stackoverflow.com/questions/2745076/what-is-the-difference-between-git-commit-and-git-push

http://gitready.com/beginner/2009/01/21/pushing-and-pulling.html

http://stackoverflow.com/questions/6143285/git-add-vs-push-vs-commit

Git for scientists: A tutorial: http://nyuccl.org/pages/GitTutorial/

http://nbviewer.ipython.org/urls/github.com/fperez/reprosw/raw/master/Version%2520Control.ipynb

https://help.github.com/articles/create-a-repo

http://www-cs-students.stanford.edu/~blynn/gitmagic/ch02.html

Software

http://sourcetreeapp.com/


https://github.com/FredrikNoren/ungit


Code repositories

https://github.com/ged-lab

https://github.com/BioinformaticsArchive/

http://github.com/hackeriet


https://github.com/nmz787/open-spectrometer


Commands

Clone repository:

git clone <URL> 


Get status of repository:

git status


Add file to tracking:

git add filename


Delete repository:

http://stackoverflow.com/questions/1514054/how-do-i-delete-a-local-repository-in-git

Remote add:

https://help.github.com/articles/adding-a-remote

git remote add node-js-sample https://github.com/jarlemag/node-js-sample

Pull:

https://www.atlassian.com/git/tutorial/remote-repositories#!pull

https://www.kernel.org/pub/software/scm/git/docs/git-pull.html

git remote add node-js-sample https://github.com/jarlemag/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
Personal tools