This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatique:git [2024/11/23 16:39] – [Initialiser un projet] yahiko | informatique:git [2024/12/08 16:04] (current) – yahiko | ||
---|---|---|---|
Line 106: | Line 106: | ||
git add . | git add . | ||
git commit -m " | git commit -m " | ||
+ | git push --set-upstream origin main | ||
+ | </ | ||
+ | |||
+ | Lors du premier envoi : | ||
+ | <code bash> | ||
+ | git push --set-upstream git@forge.tedomum.net: | ||
+ | </ | ||
+ | |||
+ | Si problème lors du push : | ||
+ | <code bash> | ||
+ | git pull --rebase origin main | ||
git push --set-upstream origin main | git push --set-upstream origin main | ||
</ | </ |