Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
git-commandes-courantes

This is an old revision of the document!


GIT

Installer dépot sur ordinateur "central"

$ mkdir projet.git
$ cd projet.git
$ git --bare init

Envoyer ses sources sur le depot distant

$ cd cartographie
$ git init
$ git add .
$ git commit -m 'premiere validation'
$ git remote add origin root@adam.univ-lemans.fr:/home/prn.git
$ git push origin master

Cloner le depot distant

git clone root@adam.univ-lemans.fr:/home/prn.git/

ATTENTION: cette commande crée le repertoire “prn”; il faut se placer au dessus

Pousser ses sources sur le depot distant

Se mettre dans le bon répertoire
$ git add .
$ git commit -m 'Mon commit'
$ git push origin master

Mettre à jour à partir du depot distant

Se mettre dans le bon répertoire (home : /home/aducret/Documents)
$ git pull origin master

"Veuillez valider ou remiser vos modifications avant la fusion"

$ git checkout
git-commandes-courantes.1701439983.txt.gz · Last modified: 2023/12/01 14:13 by 195.221.243.132