- Gitlord - The person managing the merging of work on Git.
- Everyone else - All other people in the team.
- Local - Local Git repo on a person's machine.
- Remote - Remote Git repo on person's Github account.
- Repo - Git repository.
- Everyone else: Fork the repo on Github.
- Everyone else: Clone repo on Github down to local machine.
- Everyone else: Add git remote that points to Gitlord's Github repo on your local repo.
- For first time contributor, make sure you have completed Create Project steps from above before proceeding further.
- Make sure you are in the feature branch which contains work you want to provide to Gitlord's Github repo.
- Add & Commit your work: Run
git add -A
&git commit -m 'commit message'
. - To download commits to local machine:
Run
git fetch gitlord
- To rebase commits to feature branch:
Run
git rebase gitlord/master
- Run
git push origin feature_branch
, where feature_branch is the name of your branch. - Make pull request from your branch to Gitlord's master.
- Gitlord to inform teammates to pull down the changes using steps 3 & 4.