Henry Lam and Victor Li's discord bot for league of legends
Github Branching and Merging
- Create the new branch and switch to it before working on something new:
git checkout -b <new_branch_name>
- Develop and create new changes
- Add the changes:
git add <file_names>
orgit add .
- Commit the changes:
git commit -m "<message>"
- Push the changes:
git push --set-upstream origin <branch_name>
- After pushing your changes to your branch, go on the github website and you should be able to create a pull request in the Pull Request tab on the website
- Ask for a code review, then merge when finished
- Swap back to the main branch on your local machine:
git checkout main
- Pull changes:
git pull