Site Tools


informatique:git

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
informatique:git [2024/11/23 16:45] – [Ajouter les fichiers au dépot] yahikoinformatique:git [2026/05/10 19:48] (current) yahiko
Line 112: Line 112:
 <code bash> <code bash>
 git push --set-upstream git@forge.tedomum.net:utilisateur/projet.git main git push --set-upstream git@forge.tedomum.net:utilisateur/projet.git main
 +</code>
 +
 +Si problème lors du push : 
 +<code bash>
 +git pull --rebase origin main
 +git push --set-upstream origin main
 </code> </code>
  
Line 125: Line 131:
 git pull git@forge.tedomum.net:utilisateur/projet.git git pull git@forge.tedomum.net:utilisateur/projet.git
 </code> </code>
 +
 +===== Créer une nouvelle branche =====
 +
 +<code bash>
 +git checkout -b nouvelle-branche
 +git push origin nouvelle-branche
 +</code bash>
 +
informatique/git.1732380312.txt.gz · Last modified: by yahiko