In this assignment you will learn basics of code collaboration using of GitHub and GIT.
For the team leader:
- Go to your repository in the webpage.
- Open the file
pyproject.toml. - Choose to edit the file.
- In the
projectsection, change the authorTony Xiangand email adress to your own one.- Note: DO NOT change the other author
Peter Saleminkyet.
- Note: DO NOT change the other author
- Now commit the changes.
- Type a meaningful commit message.
- You cannot commit directly to
main. So choose a branch name and clickPropose changes.
- A pull request is now opened.
For the teammate:
- Go to repository and go to the pull request.
- Review and approve the PR.
- Merge the PR.
- Delete the temporary branch.
For both team members:
- Clone the repository in your local WSL folder.
- Go to the folder using
cd, and open the folder usingvscodeby runningcode ..
For teammate:
- In
vscode:- Open the file
pyproject.toml - In the
projectsection, change the authorPeter Saleminkand email adress to your own one. - Save the file.
- Execute the following
gitactions using either command line, or thevscodeversion control tab.- Create a new branch.
- Stage the changes of the files.
- Commit the changes.
- Push the new branch.
- Open the file
- In GitHub webpage
- Go to pull request tab.
- Create a new pull request.
- Source branch is the one you created.
- Target branch is
main.
For team leader:
- Go to repository and go to the pull request.
- Review and approve the PR.
- Merge the PR.
- Delete the temporary branch.
For both team members:
- Execute the following
gitactions using either command line, or thevscodeversion control tab.- Pull/sync the latest changes in
main. - Delete not needed local branches.
- Pull/sync the latest changes in