« Git/Problèmes connus » : différence entre les versions

Contenu supprimé Contenu ajouté
DannyS712 (discussion | contributions)
m <source> -> <syntaxhighlight> (phab:T237267)
Ligne 42 :
== error: Your local changes to the following files would be overwritten by merge ==
Pour sauvegarder le travail local :
<sourcesyntaxhighlight lang="bash">
git reset HEAD~1; git stash
</syntaxhighlight>
</source>
Pour supprimer le travail local :
<sourcesyntaxhighlight lang="bash">
git reset --hard
</syntaxhighlight>
</source>
 
== failed to create a new commit ==
Reconfigurer :
<sourcesyntaxhighlight lang="bash">
git config --global user.name "Your Name"
</syntaxhighlight>
</source>
 
== failed to create a pull request ==
Ligne 95 :
== fatal: unable to access 'https://MonServeur/MonDepotEnLigne.git/': SSL certificate problem: self signed certificate ==
Lors du clonage, remplacer HTTPS par HTTP, ou bien désactiver la vérification du certificat SSL :
<sourcesyntaxhighlight lang="bash">
git -c http.sslVerify=false clone https://MonServeur/MonDepotEnLigne.git
</syntaxhighlight>
</source>
 
== Please, commit your changes or stash them before you can merge ==
Précéder le <code>pull</code> d'un <code>stash</code> :
<sourcesyntaxhighlight lang="bash">
git stash
git pull
</syntaxhighlight>
</source>
 
== This file is empty ==