Project

General

Profile

Git » History » Revision 2

Revision 1 (Anchi Cheng, 07/27/2016 10:11 AM) → Revision 2/3 (Anchi Cheng, 07/27/2016 10:38 AM)

h1. Git 

 h3. 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): 
 <pre> 
 git clone -b trunk http://your_username@emg.nysbc.org/git/myami myami/ 
 </pre> 

 To get a release version (Bug fixes only please): 
 <pre> 
 git clone -b myami-3.2 http://your_username@emg.nysbc.org/git/myami http://your_username@emg.nysbc.org/svn/myami myami-3.2/ 
 </pre> 

 See git documentation for more. 

 To update your clone with latest HEAD 
 <pre> 
 git pull 
 </pre> 

 To commit changes back, use: 
 <pre> 
 git add your_files 
 git commit 
 git push 
 </pre> 

 h3. How to create a new branch in git 

 git allows local branching.    See its documentation. 

 *NEED TO FILL IN INFORMATION*