You are on page 1of 5

Moodle Git

(OSSEZ.COM) CHS
, 2013-08-27

YUCHENG HU
OSSEZ INC (USA)
OSSEZ ()

:
http://www.ossez.com
http://wiki.ossez.com

1.1

2013-08-27

YUCHENG HU

OSSEZ.COM-v1.0-.ott
OSSEZ LLC 2006 - 2013

2013-08-27
1/5


1 ....................................................................................................................................... 3
1.1 ........................................................................................................................ 3
1.2 ............................................................................................................................... 3
1.3 ............................................................................................................................... 4
1.4 ............................................................................................................................... 4
1.5 ............................................................................................................................... 4

OSSEZ.COM-v1.0-.ott
OSSEZ LLC 2006 - 2013

2013-08-27
2/5

1
GIT Git

Moodle Git git://git.moodle.org/moodle.git Moodle


github
git://github.com/moodle/moodle.git)

1.1

git clone git://git.moodle.org/moodle.git

/home/yuchenghu

git clone git://git.moodle.org/moodle.git

moodle

3
4
5
6
7
8
9
10
11
12
13

[root@ca1 yuchenghu]# git clone git://git.moodle.org/moodle.git


Initialized empty Git repository in /home/yuchenghu/moodle/.git/
remote: Counting objects: 676955, done.
remote: Compressing objects: 100% (158836/158836), done.
remote: Total 676955 (delta 502896), reused 676955 (delta 502896)
Receiving objects: 100% (676955/676955), 247.96 MiB | 9.33 MiB/s, done.
Resolving deltas: 100% (502896/502896), done.
[root@ca1 yuchenghu]# dir
history.txt mantisbt rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
latest.zip
moodle
[root@ca1 yuchenghu]#

1.2

14

cd moodle

OSSEZ.COM-v1.0-.ott
OSSEZ LLC 2006 - 2013

2013-08-27
3/5

1.3

15

git branch -a

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

[root@ca1 moodle]# git branch -a


* master
remotes/origin/HEAD -> origin/master
remotes/origin/MOODLE_13_STABLE
remotes/origin/MOODLE_14_STABLE
remotes/origin/MOODLE_15_STABLE
remotes/origin/MOODLE_16_STABLE
remotes/origin/MOODLE_17_STABLE
remotes/origin/MOODLE_18_STABLE
remotes/origin/MOODLE_19_STABLE
remotes/origin/MOODLE_20_STABLE
remotes/origin/MOODLE_21_STABLE
remotes/origin/MOODLE_22_STABLE
remotes/origin/MOODLE_23_STABLE
remotes/origin/MOODLE_24_STABLE
remotes/origin/MOODLE_25_STABLE
remotes/origin/master
[root@ca1 moodle]#

1.4

34

git branch --track MOODLE_25_STABLE origin/MOODLE_25_STABLE

35
36
37
38

[root@ca1 moodle]# git branch --track MOODLE_25_STABLE origin/MOODLE_25_STABLE


Branch MOODLE_25_STABLE set up to track remote branch MOODLE_25_STABLE from
origin.
[root@ca1 moodle]#

1.5

39

git checkout MOODLE_25_STABLE

40
41
42

[root@ca1 moodle]# git checkout MOODLE_25_STABLE


Switched to branch 'MOODLE_25_STABLE'
[root@ca1 moodle]#

moodle
OSSEZ.COM-v1.0-.ott
OSSEZ LLC 2006 - 2013

2013-08-27
4/5

OSSEZ.COM-v1.0-.ott
OSSEZ LLC 2006 - 2013

2013-08-27
5/5

You might also like