All committing to master vs fork (likely branch) and pull? Possible workflows are:
All to master
Locally (everyone) makes changes and commits to master (again, locally)
Before git push, you would need to git pull (or git fetch) and hopefully successfully merge, or deal with merge conflicts.
git push origin master
Pull Request
Before beginning, create task specific branch from latest master. For example, "creating-about-page." This can be done in GitHub or locally via git checkout -b creating-about-page
Work locally in creating-about-page branch.
Commit changes and push creating-about-page to origin.
In GitHub, create pull request. If no merge conflicts, merge away. If conflicts exist, follow these instructions.
All committing to master vs fork (likely branch) and pull? Possible workflows are:
All to master
git push
, you would need togit pull
(orgit fetch
) and hopefully successfully merge, or deal with merge conflicts.git push origin master
Pull Request
git checkout -b creating-about-page