GIT []

Outils pour utilisateurs

Outils du site


GIT

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
documentation:informatique:linux:git:index [2023/01/06 11:23] – [Basculer en "master"] f1slsdocumentation:informatique:linux:git:index [2023/02/01 04:47] (Version actuelle) – [Basculer sur master] f1sls
Ligne 83: Ligne 83:
 <WRAP center round info 100%> <WRAP center round info 100%>
 == NOTE == == NOTE ==
-Il faut avoir créé un fichier et l'avoir ajouté ''git add FICHIER'' puis commité ''git commit -m "commentaire"''.+Il faut avoir créé un ''FICHIER'' et l'avoir ajouté ''git add FICHIER'' puis commité ''git commit -m "commentaire"''.
 </WRAP> </WRAP>
  
Ligne 97: Ligne 97:
 git config --get remote.origin.url git config --get remote.origin.url
 </code> </code>
 +
 +===== Basculer sur master =====
 +//(avant de faire le premier push)//
 +
 +<code bash>
 +git push --set-upstream origin master
 +</code>
 +
 ===== GIT via http ===== ===== GIT via http =====
 <WRAP center round tip 100%> <WRAP center round tip 100%>
documentation/informatique/linux/git/index.1673000600.txt.gz · Dernière modification : de f1sls