This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:systemes:linux:git [2013/04/09 13:39] PROCACCIA [Reference] |
docpublic:systemes:linux:git [2013/04/09 13:54] (current) PROCACCIA |
||
|---|---|---|---|
| Line 223: | Line 223: | ||
| $ git log | $ git log | ||
| commit 9c17567714d9158126d39d3b1dda20ebe5146d82 | commit 9c17567714d9158126d39d3b1dda20ebe5146d82 | ||
| - | Author: jehanproc <jehan.procaccia@int-evry.fr> | + | Author: jehanproc <my.email@int-evry.fr> |
| Date: Tue Apr 9 11:18:36 2013 +0200 | Date: Tue Apr 9 11:18:36 2013 +0200 | ||
| Line 229: | Line 229: | ||
| commit b679adb3b2e2fa5e30d1f52b2fa4f12cff888b66 | commit b679adb3b2e2fa5e30d1f52b2fa4f12cff888b66 | ||
| - | Author: jehanproc <jehan.procaccia@int-evry.fr> | + | Author: jehanproc <my.email@int-evry.fr> |
| Date: Tue Apr 9 09:51:01 2013 +0200 | Date: Tue Apr 9 09:51:01 2013 +0200 | ||
| Line 244: | Line 244: | ||
| $ git log | $ git log | ||
| commit b679adb3b2e2fa5e30d1f52b2fa4f12cff888b66 | commit b679adb3b2e2fa5e30d1f52b2fa4f12cff888b66 | ||
| - | Author: jehanproc <jehan.procaccia@int-evry.fr> | + | Author: jehanproc <my.email@int-evry.fr> |
| Date: Tue Apr 9 09:51:01 2013 +0200 | Date: Tue Apr 9 09:51:01 2013 +0200 | ||
| Line 332: | Line 332: | ||
| - | [procacci@arvouin ~/.ssh] | + | [login@arvouin ~/.ssh] |
| $ ssh-copy-id gituser@svnshare.it-sudparis.eu | $ ssh-copy-id gituser@svnshare.it-sudparis.eu | ||
| </ | </ | ||
| Line 352: | Line 352: | ||
| </ | </ | ||
| + | au sujet de git-shell-commands cf http:// | ||
| ==== git bare server repo ==== | ==== git bare server repo ==== | ||
| + | |||
| + | on creer un repository vierge sur le serveur | ||
| < | < | ||
| Line 363: | Line 366: | ||
| - | ==== git remote client ==== | + | ===== initialisation |
| + | |||
| + | sur le client on declare notre serveur remote qui va heberger notre repo | ||
| + | |||
| + | ==== remote add ==== | ||
| - | sur le client on declare notre serveur remote qui va heberger notre repo; git remote add [nomcourt] [url] | + | syntaxe: |
| < | < | ||
| Line 408: | Line 415: | ||
| </ | </ | ||
| - | ===== usage client remote ===== | + | ===== usages |
| depuis un (autre) client (teststud) on va recuperer ce repo et le modifier | depuis un (autre) client (teststud) on va recuperer ce repo et le modifier | ||
| Line 467: | Line 474: | ||
| </ | </ | ||
| - | ==== Pull remote ==== | + | ==== pull remote ==== |
| - | depuis notre premier client nous allons recuperer les modification | + | depuis notre premier client nous allons recuperer les modifications |
| === visualisation de l'etat remote === | === visualisation de l'etat remote === | ||
| Line 489: | Line 496: | ||
| === recuperation === | === recuperation === | ||
| - | on recupere (pull) depuis le serveur les dernieres | + | on recupere (pull) depuis le serveur les dernieres |
| < | < | ||