Skip to content

Commit

Permalink
Plus de détail sur le workflow GIT
Browse files Browse the repository at this point in the history
+ ajout mineur sur le squash
  • Loading branch information
seblucas committed Sep 25, 2019
1 parent 0fdd65f commit 586d212
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions odeva.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,24 @@ Nouveau rôle : Intégrateur.
* [Contribuer à un projet : fork, clone, PR](https://github.com/firstcontributions/first-contributions)


# Gitflow

![image](https://datasift.github.io/gitflow/GitFlowHotfixBranch.png)


# Microsoft Flow

![image](https://docs.microsoft.com/en-us/azure/devops/learn/_img/branch-strategy.png)


# Your Flow

* A vous
* Peu de mauvaises solutions
* Besoin d'expliquer le fonctionnement
* Gestion des bugfixes claire



# Les commandes GIT

Expand Down Expand Up @@ -810,6 +828,17 @@ git rebase -i master
Notion de cherry picking et commit squashing.


# TP / Squash

```bash
git log
git log --graph --decorate --pretty=oneline --abbrev-commit
git rebase -i HEAD~[NUMBER OF COMMITS]
ou
git rebase -i [SHA]
```


# TP / Rebase Attention

Ne jamais utiliser le `rebase` sur des commits qui ne sont pas strictement locaux.
Expand Down

0 comments on commit 586d212

Please sign in to comment.