This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:development:git [2011/08/09 17:59] morty This is partly BS - but at least it's BS at the right place..... |
wiki:development:git [2011/11/02 21:46] sunweaver wiki:git renamed to wiki:development:git (Namespace cleanup) |
||
---|---|---|---|
Line 102: | Line 102: | ||
; do git clone git:// | ; do git clone git:// | ||
</ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Maintenance ===== | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | ==== Create new Git Project on X2go Git ==== | ||
+ | |||
+ | Create a local Git project: | ||
+ | |||
+ | < | ||
+ | $ mkdir -p ~/ | ||
+ | $ cd ~/ | ||
+ | $ git init | ||
+ | </ | ||
+ | |||
+ | Then add your first files to the new '' | ||
+ | |||
+ | Then run the following command sequence: | ||
+ | |||
+ | < | ||
+ | $ cd ~/ | ||
+ | $ x2go-gitcreate x2gonewthing | ||
+ | # if the Git creation succeeds (check via http:// | ||
+ | $ rm x2gonewthing -Rfv | ||
+ | $ git clone ssh:// | ||
+ | </ | ||
+ | |||
+ | Now you can start working on your new X2go project as on any of the other already existing X2go Git projects. | ||
+ | |||
+ | ==== Edit Git Configs ==== | ||
+ | |||
+ | As '' | ||
+ | |||
+ | < | ||
+ | $ cd / | ||
+ | $ vim config | ||
+ | </ | ||
+ | |||
+ | ==== Edit Git Descriptions ==== | ||
+ | |||
+ | As '' | ||
+ | |||
+ | < | ||
+ | $ cd / | ||
+ | $ vim description | ||
+ | </ | ||
+ | |||
+ | ==== Edit Git ACLs ==== | ||
+ | |||
+ | Unused feature, may come later... | ||
+ | |||
+ | |||
+ | ===== Backyard ===== | ||
+ | |||
+ | < | ||
==== Reverting Merge Commits ==== | ==== Reverting Merge Commits ==== | ||
Line 164: | Line 221: | ||
You may consider silencing those warnings before committing the next time... | You may consider silencing those warnings before committing the next time... | ||
- | |||
- | |||
- | ===== Maintenance ===== | ||
- | |||
- | <note warning> | ||
- | |||
- | ==== Create new Git Project on X2go Git ==== | ||
- | |||
- | Create a local Git project: | ||
- | |||
- | < | ||
- | $ mkdir -p ~/ | ||
- | $ cd ~/ | ||
- | $ git init | ||
- | </ | ||
- | |||
- | Then add your first files to the new '' | ||
- | |||
- | Then run the following command sequence: | ||
- | |||
- | < | ||
- | $ cd ~/ | ||
- | $ x2go-gitcreate x2gonewthing | ||
- | # if the Git creation succeeds (check via http:// | ||
- | $ rm x2gonewthing -Rfv | ||
- | $ git clone ssh:// | ||
- | </ | ||
- | |||
- | Now you can start working on your new X2go project as on any of the other already existing X2go Git projects. | ||
- | |||
- | ==== Edit Git Configs ==== | ||
- | |||
- | As '' | ||
- | |||
- | < | ||
- | $ cd / | ||
- | $ vim config | ||
- | </ | ||
- | |||
- | ==== Edit Git Descriptions ==== | ||
- | |||
- | As '' | ||
- | |||
- | < | ||
- | $ cd / | ||
- | $ vim description | ||
- | </ | ||
- | |||
- | ==== Edit Git ACLs ==== | ||
- | |||
- | Unused feature, may come later... | ||