1
0
Fork 0
trainings/git/training/1-git-conflict.md

33 lines
517 B
Markdown

# Gerer un conflit git
Forker le repo dans votre github : https://github.com/arnaudmorin/alexis
Cloner votre fork sur votre PC
```
git clone https://github.com/yourgithubaccount/alexis
```
Verifiez que vous etes sur la branche `master`:
```
git branch
```
doit vous donner:
```
master
```
Essayez de merge la branche `branche2`:
```
git merge branche2
```
Vous allez avoir un conflit.
Essayez de resoudre le conflit.
Quand fini, poussez le resultat sur votre fork et donner l'url de votre github a Arnaud.