User Tools

Site Tools


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:/home/prn.git
$ git push origin master

Cloner le depot distant

git clone root@adam:/home/prn.git/

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

git-commandes-courantes.1652192219.txt.gz · Last modified: 2023/09/28 12:26 (external edit) · Currently locked by: 216.73.217.114