Site Tools


informatique:git_old

Differences

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

Link to this comparison view

informatique:git_old [2024/11/18 19:04] – created yahikoinformatique:git_old [2024/11/18 19:36] (current) – removed yahiko
Line 1: Line 1:
-<WRAP center round important 60%> 
-La suite est pour archive 
-</WRAP> 
  
- 
- 
-===== S'identifier ===== 
-<code shell> 
-git config --global user.name "your_username" 
-git config --global user.email "your_email_address@example.com" 
-git config --global --list 
- 
-</code> 
- 
-===== Initialiser et ajouter un dépôt ===== 
-<code shell> 
-cd dossier_repo 
-git init 
-git remote add origin https://forge.tedomum.net/git-username/git-repo.git 
-git remote -v 
-git branch -M main 
-git push -uf origin main 
-</code> 
- 
-===== Ajouter des trucs au dépot ===== 
-<code shell> 
-cd dossier_repo 
-git add [dossier ou fichier] 
-git commit -m "Commentaire" 
-git push 
-</code> 
informatique/git_old.1731956680.txt.gz · Last modified: 2024/11/18 19:04 by yahiko