Add conflicts
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
This commit is contained in:
parent
41331b1994
commit
6e02a329ca
|
@ -0,0 +1,32 @@
|
|||
# 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.
|
||||
|
Loading…
Reference in New Issue