What's a git workflow and where do I need to write it? Paper? Git Diagram? I've seen a lot of websites, threads and I don't know what is a git worfklow and where do I need to write the workflow. I think it's a good idea to begin to use the workflow.
Asked
Active
Viewed 390 times
2 Answers
2
A git workflow doesn't necessarily need to be in a formal paper or diagram. It's simply a way that your team uses git, generally concerning branches or commit messages.

Nick McCurdy
- 17,658
- 5
- 50
- 82
-
Ok, so worflows are like rules? – Stickly Sep 28 '14 at 04:12
-
Sort of. They're basically popular conventions, though they aren't built into git. A workflow is simply a collection of conventions you use for storing and versioning files in git. – Nick McCurdy Sep 28 '14 at 04:14
0
Note that you have 2 workflows to consider in a distributed version control system like Git:
the merge workflow (common to any VCS, Version Control System): what do you merge, from which branch to which branch?
This is a local workflow, and the most popular one is the git-flowthe publication workflow: where do you push, from where do you pull? You can see some of those workflows in the Atlassian article "Comparing workflows".
This is how you collaborate with others.
You can see more at:
-
Since git workflows aren't really a formal concept, I would argue that it's more complicated than this. I've seen git workflows that involve adding extra syntax to git commit messages, and some that don't involve merges or publication practices. – Nick McCurdy Sep 28 '14 at 18:17