equal
deleted
inserted
replaced
4 Git. |
4 Git. |
5 ====== |
5 ====== |
6 .. contents:: |
6 .. contents:: |
7 :local: |
7 :local: |
8 |
8 |
9 Setup git. |
9 Setup git |
10 ========== |
10 ========= |
11 |
11 |
12 Debian. |
12 Debian |
13 ------- |
13 ------ |
14 |
14 :: |
15 For Etch Degian release use git-core package from backports, |
15 |
16 old 1.4 version of git very dumb compared to new version 1.5:: |
16 $ sudo apt-get install git |
17 |
|
18 $ sudo apt-get install git-core |
|
19 |
17 |
20 After install setup some options:: |
18 After install setup some options:: |
21 |
19 |
22 $ git config --global user.name "Oleksandr Gavenko" |
20 $ git config --global user.name "Oleksandr Gavenko" |
23 $ git config --global user.mail "gavenkoa@gmail.com" |
21 $ git config --global user.mail "gavenkoa@gmail.com" |
24 $ cat ~/.gitconfig |
22 $ cat ~/.gitconfig |
25 [user] |
23 [user] |
26 name = Oleksandr Gavenko |
24 name = Oleksandr Gavenko |
27 mail = gavenkoa@gmail.com |
25 mail = gavenkoa@gmail.com |
28 |
26 |
29 Cygwin. |
27 Cygwin |
30 ------- |
28 ------ |
|
29 :: |
31 |
30 |
32 $ setup.exe -p git |
31 $ setup.exe -p git |
|
32 $ apt-cyg install git |
33 |
33 |
34 git over proxy. |
34 git over proxy. |
35 =============== |
35 =============== |
36 |
36 |
37 Only http:// protocol support proxy (not git://):: |
37 Only http:// protocol support proxy (not git://):: |
41 |
41 |
42 You can store proxy settings under repository local config file:: |
42 You can store proxy settings under repository local config file:: |
43 |
43 |
44 $ git config http.proxy http://$user:$passwd@$ip:$port |
44 $ git config http.proxy http://$user:$passwd@$ip:$port |
45 |
45 |
46 Start your project. |
46 Start project with git |
47 =================== |
47 ====================== |
48 |
48 |
49 Setup proj space on fs:: |
49 Setup proj space on fs:: |
50 |
50 |
51 $ mkdir proj |
51 $ mkdir proj |
52 $ cd proj |
52 $ cd proj |