Project

General

Profile

Git » History » Version 1

Anchi Cheng, 07/27/2016 10:11 AM

1 1 Anchi Cheng
h1. Git
2
3
h3. How to check out the code
4
5
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
6
7
To get the development trunk (where new features are added):
8
<pre>
9
git clone -b trunk http://your_username@emg.nysbc.org/git/myami myami/
10
</pre>
11
12
To get a release version (Bug fixes only please):
13
<pre>
14
git clone -b myami-3.2 http://your_username@emg.nysbc.org/svn/myami myami-3.2/
15
</pre>
16
17
See git documentation for more.
18
19
To update your clone with latest HEAD
20
<pre>
21
git pull
22
</pre>
23
24
To commit changes back, use:
25
<pre>
26
git add your_files
27
git commit
28
git push
29
</pre>
30
31
h3. How to create a new branch in git
32
33
git allows local branching.  See its documentation.
34
35
*NEED TO FILL IN INFORMATION*