User Tools

Site Tools


wiki:development:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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://code.x2go.org/$REP; done ; do git clone git://code.x2go.org/$REP; done
 </code> </code>
 +
 +
 +
 +===== Maintenance =====
 +
 +<note warning>This is only for admins having access to the x2go git server.</note>
 +
 +==== Create new Git Project on X2go Git ====
 +
 +Create a local Git project:
 +
 +<code>
 +$ mkdir -p ~/MyCode/x2go-upstream/x2gonewthing
 +$ cd ~/MyCode/x2go-upstream/x2gonewthing
 +$ git init
 +</code>
 +
 +Then add your first files to the new ''x2gonewthing'' project. Commit these files as the first commit. Maybe commit more...
 +
 +Then run the following command sequence:
 +
 +<code>
 +$ cd ~/MyCode/x2go-upstream/
 +$ x2go-gitcreate x2gonewthing
 +# if the Git creation succeeds (check via http://code.x2go.org/gitweb), only then...
 +$ rm x2gonewthing -Rfv
 +$ git clone ssh://x2go@code.x2go.org:32032/srv/git/code.x2go.org/x2gonewthing.git
 +</code>
 +
 +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 ''x2go-admin'' on ''code.x2go.org'':
 +
 +<code>
 +$ cd /srv/git/code.x2go.org/<x2go-project>.git
 +$ vim config
 +</code>
 +
 +==== Edit Git Descriptions ====
 +
 +As ''x2go-admin'' on ''code.x2go.org'':
 +
 +<code>
 +$ cd /srv/git/code.x2go.org/<x2go-project>.git
 +$ vim description
 +</code>
 +
 +==== Edit Git ACLs ====
 +
 +Unused feature, may come later...
 +
 +
 +===== Backyard =====
 +
 +<note>Is this really needed??!</note>
  
 ==== 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>This is only for admins having access to the x2go git server.</note> 
- 
-==== Create new Git Project on X2go Git ==== 
- 
-Create a local Git project: 
- 
-<code> 
-$ mkdir -p ~/MyCode/x2go-upstream/x2gonewthing 
-$ cd ~/MyCode/x2go-upstream/x2gonewthing 
-$ git init 
-</code> 
- 
-Then add your first files to the new ''x2gonewthing'' project. Commit these files as the first commit. Maybe commit more... 
- 
-Then run the following command sequence: 
- 
-<code> 
-$ cd ~/MyCode/x2go-upstream/ 
-$ x2go-gitcreate x2gonewthing 
-# if the Git creation succeeds (check via http://code.x2go.org/gitweb), only then... 
-$ rm x2gonewthing -Rfv 
-$ git clone ssh://x2go@code.x2go.org:32032/srv/git/code.x2go.org/x2gonewthing.git 
-</code> 
- 
-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 ''x2go-admin'' on ''code.x2go.org'': 
- 
-<code> 
-$ cd /srv/git/code.x2go.org/<x2go-project>.git 
-$ vim config 
-</code> 
- 
-==== Edit Git Descriptions ==== 
- 
-As ''x2go-admin'' on ''code.x2go.org'': 
- 
-<code> 
-$ cd /srv/git/code.x2go.org/<x2go-project>.git 
-$ vim description 
-</code> 
- 
-==== Edit Git ACLs ==== 
- 
-Unused feature, may come later... 
  
  
  
wiki/development/git.txt ยท Last modified: 2020/05/28 22:43 by danger89