How to PR to this repo
- Fork this repo to your github account by clicking on the fork icon in this repo.
- Clone the forked repo from terminal/git bash
git clone https://github.com/your github username/Learn.git
- Checkout to new branch
git checkout -b your-name/your-branch-name
- If you are a first year and learning Python, then go to [Juniors - 1st Year] folder and Create a folder in your name and add files(article) to it.
If you are not a first year, Create a folder(in the root) in your name and add files(article) to it
- Add and commit the changes
git add .
git commit -m "Your message here"
- Push your branch to remote
git push origin your-name/your-branch-name
- If link was shown in the last step, click on it and create a PR. Else, open the repo manually in browser and create a PR
To sync your local repo with this repo
- Add upstream url to url repo. (This comand is only once for a repo)
git remote add upstream https://github.com/Team-Tomato/Learn.git
- Fetch the changes from oringinal repo.
git fetch upstream
- Update the local repo(Master branch).
git checkout master
git merge upstream/master