SimformGitExcercise
Complete this Git exercise by performing the following steps.
- Android Repository: https://github.com/SimformSolutionsPvtLtd/SimformGitExcercise
- Fork this Android repository to your Simform’s github account.
- Add concerned person as collaborator and whenever you create PR don't forgot to add collaborator as reviewer.
- Git flow initialization.
- Create a "development" branch from the master branch.
- Create a feature branch named “feature/Profile” from the development branch.
- Create another feature branch named “feature/Authentication” from the development branch.
- In the “feature/Authentication” :
- Create a login screen.
- Once it's done please commit your changes.
- Create a registration screen.
- Commit your changes.
- Create a forgot password screen.
- Then save the changes locally (using git stash)
- Now combine the first 2 commits(login & registration) into a single commit with a proper message (using git squash)
- Now unstash the forgot password changes from stash list. (using git stash)
- Again perform the commit.
- Then merge all commits into one with a proper message.
- Now Create PR from feature/Authentication branch to development branch and assign PR to concern reviewer.
- Once above PR is approved and merged, Authentication feature is completed.
- Now rebase development branch onto the feature/Profile, so that Profile branch became updated :
- Checkout from feature/Profile.
- Create a profile screen.
- Commit your changes with the proper message.
- Rename last commit and change commit message (This step needs to be performed on Call while sharing the screen).
- Create an Edit Profile screen.
- Commit changes with proper message.
- Now we require only 1st commit from feature/profile to development branch. (use cherrypick for this step)
- Make sure all feature branches (previously created from the development branch) should up to date. (rebase)
- Meanwhile, we got a serious issue on production build so we need to fix an issue and have to release :
- Create bugfix branch called bugfix/login_issue from development branch.
- Fix an issue faced on production build.
- Commit your changes.
- Rename commit message.
- Now create PR from bugfix branch to development branch.
- Once above PR is approved and merged, make sure to update all the feature branches (previously created from the development branch) so all changes made on development branch will reflect in feature branches as well. (rebase)