A new Flutter project to implement features below :
This project is based on a Flutter project sample:
For help getting started with Flutter, view their online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
What I understood about git flow Two big branches to start with
-
master -> for real app on real server
-
develop -> everything is ongoing here. main branch for features.
-
feature/name -> each function for the app will be developed on this branch.
-
release/ -> when features are done, it will be created or updated on temp or test server. test, fixing bugs before release will go on here.
-
master -> When test is done and all the bugs are fixed. It will be merged to both master and develop. And it will be released with version Tag.
-
hotfix/ -> After release, if there is critical bug on App. Create hotfix branch and work on it. After fixing it, make sure the code are merged to both master and develop branch.
What I did to apply git flow
-
I did installed git-flow with brew install git-flow on Terminal > Uninstalled you can do it without installing git-flow.
-
create master, develop branch and push all files on them.
-
create feature/login and feature/userinformation for an example with "git flow feature start login" > Without git-flow, push the new branch on remote.
-
push on remote repo with git push origin --all
-
After working on it, add, commit and push files on feature/login, did pull Request.
-
When it is approved, it can be merged to develop.
-
If it is approved to be released, it can be merged to master.
Simply, git flow is feature > develop > master