User:Jarle Pahr/Git: Difference between revisions
Jarle Pahr (talk | contribs) |
Jarle Pahr (talk | contribs) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
=Tutorials and tips= | =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 | https://www.atlassian.com/git?utm_source=cac-bitbucket-1&utm_medium=banner&utm_content=visual-git-guides&utm_campaign=git-tutorial | ||
Line 28: | Line 30: | ||
http://nbviewer.ipython.org/urls/github.com/fperez/reprosw/raw/master/Version%2520Control.ipynb | 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= | =Software= | ||
Line 64: | Line 70: | ||
Add file to tracking: | Add file to tracking: | ||
git add filename | git add filename | ||
Line 69: | Line 76: | ||
http://stackoverflow.com/questions/1514054/how-do-i-delete-a-local-repository-in-git | 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 |
Latest revision as of 14:48, 20 September 2013
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/
Tutorials and tips
http://www.codecademy.com/groups/html-projects/discussions/5177d3a1758e99b46e003d6a
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
https://github.com/FredrikNoren/ungit
Code repositories
https://github.com/BioinformaticsArchive/
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