Differences

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

Link to this comparison view

sde2:laboratoare:01_simple_fr [2022/03/08 09:13]
cristiana.andrei [Créer un repository sur GitHub]
sde2:laboratoare:01_simple_fr [2022/03/08 10:05] (current)
cristiana.andrei [Connecter les deux repositories]
Line 119: Line 119:
  
 <​code>​ <​code>​
-user:~$ mkdir SDE-TP2 +user:~$ mkdir SDE2-TP2 
-user:~$ cd SDE-TP2 +user:~$ cd SDE2-TP2 
-user:~/SDE-TP2$ git init+user:~/SDE2-TP2$ git init
 user:​~/​SDE2-TP2$ ls -a user:​~/​SDE2-TP2$ ls -a
 </​code>​ </​code>​
Line 127: Line 127:
 {{ :​sde2:​laboratoare:​git_local_repo.png?​500 |}} {{ :​sde2:​laboratoare:​git_local_repo.png?​500 |}}
  
-On a initialisé le repository local en utilisant la commande ** git init **, à partir du répertoire créé nommé // SDE-TP2 //. En même temps, on a utilisé la commande // ls -a // pour afficher les répertoires cachés, car le répertoire **. Git ** est un répertoire caché.+On a initialisé le repository local en utilisant la commande ** git init **, à partir du répertoire créé nommé // SDE2-TP2 //. En même temps, on a utilisé la commande // ls -a // pour afficher les répertoires cachés, car le répertoire **. Git ** est un répertoire caché.
  
 <​note>​ <​note>​
Line 141: Line 141:
  
 <​code>​ <​code>​
-user:​~/​SDE-TP2$ git remote add origin https://​github.com/​{username}/​SDE-TP2.git+user:​~/​SDE-TP2$ git remote add origin https://​github.com/​{username}/​SDE2-TP2.git
 </​code>​ </​code>​
  
sde2/laboratoare/01_simple_fr.1646723629.txt.gz · Last modified: 2022/03/08 09:13 by cristiana.andrei
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0