Actions
Git » History » Revision 2
« Previous |
Revision 2/3
(diff)
| Next »
Anchi Cheng, 07/27/2016 10:38 AM
Git¶
How to check out the code¶
As a developer, you should check out the code under your Appion/Leginon redmine username and your redmine password will be required when you push your commits
To get the development trunk (where new features are added):
git clone -b trunk http://your_username@emg.nysbc.org/git/myami myami/
To get a release version (Bug fixes only please):
git clone -b myami-3.2 http://your_username@emg.nysbc.org/git/myami myami-3.2/
See git documentation for more.
To update your clone with latest HEAD
git pull
To commit changes back, use:
git add your_files git commit git push
How to create a new branch in git¶
git allows local branching. See its documentation.
NEED TO FILL IN INFORMATION
Updated by Anchi Cheng over 8 years ago · 2 revisions