Basic Github Browser Tutorials
Basic Github Browser Tutorials
Go to settings/Collaborators & teams, and click Add people, put their name, and select the desired role
to add them to the repository.
2. ADD FILES/COMMIT/PULL REQUEST
You can directly add files to the repository by uploading from your computer by clicking Add file in the
up-right corner of the page.
Once you choose which file you want to upload, you can commit it in two ways:
1. commit changes directly to the main branch; this will put the file directly in the repository
2. create a new branch for this commit and start a pull request: this will create a local branch
and put the file in the local branch.
You are only changing the local branch for now. You can save it. Once you commit the change, GitHub
will ask if you want to create a pull request for your change.
Add your title and description needed for your pull request and hit Create pull request.
3. REQUEST REVIEWER
You can then request that your teammates review your pull request. You can add reviewers on the right
side of the pull request.
Your teammates can comment on your pull request, request changes, or approve it
4. MERGE
Once all the issues are resolved, and the code change looks good, you can merge your pull request by
clicking the Merge pull request button. Now you can see your pull request is merged.
Making changes to existing files would go through the same process. When two of the members are
making changes to the same file, it is possible that you made conflicting changes to the same file, you
would need to resolve the conflicts when you merge to the main branch.