https://dev-to-uploads.s3.amazonaws.com/i/tg4fvhpb0ntzzsviynar.PNG
For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
Kirsten Poon -
Jasmine Mae -
Joy Kecc -
Kapil Gupta -
Top comments (2)
Assuming just a single developer, it's probably something similar to...
Make some changes
The next branch could be created here
Some changes made and saved
And then checkout the master branch, make some changes and what not
Then the feature branch merged
Make some changes, and commit forward.
Alternatively, instead of branching directly from the second commit, development could have continued on the master branch and second commit checked out to branch from
However, more likely than not, it's more than one developer. The project was synced at the second commit and another person checked out the code from there while development continued on the master branch. They created another branch for the feature, and submitted a pull request into the master branch. That pull was then merged into the master branch.
It is pretty disappointing to see this request, since it's a fairly blatant ask for someone else to solve an exam (or job interview) question...