GIT: Difference between revisions
Jump to navigation
Jump to search
Created page with "We are using 'github' as our online code management. It is owned by Sergey Boyarinov and managed from the site 'github.com' which username boiarino17. There are three repositorie..." |
No edit summary |
||
Line 11: | Line 11: | ||
Command ''git pull'' can be used to get files from repository. | Command ''git pull'' can be used to get files from repository. | ||
Use following to add all files locally, usually used once initially. | |||
git add . | |||
git commit -a -m "first commit" | |||
Use ''git commit'' command to check in locally, and ''git push'' to check into repository. | Use ''git commit'' command to check in locally, and ''git push'' to check into repository. |
Revision as of 15:17, 4 September 2013
We are using 'github' as our online code management. It is owned by Sergey Boyarinov and managed from the site 'github.com' which username boiarino17. There are three repositories: coda, clon and epics.
To use it clon clon machines, proxy have to be set by following command:
git config --global http.proxy jprox.jlab.org:8081
To get repository (for example coda) use following command:
git clone https://github.com/boiarino17/coda
Command git pull can be used to get files from repository.
Use following to add all files locally, usually used once initially.
git add . git commit -a -m "first commit"
Use git commit command to check in locally, and git push to check into repository.