You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Git Bash
2. cd to the location you want to clone your repository.
3. Clone the forked repository (newly created repository on your GitHub Profile) using: git clone <url of forked repo>
4. cd to that repository and check git status to see if everything is fine.
5. Add a Git remote (say named upstream) for the original repository using the command: git remote add upstream https://github.com/Lean-IN-IGDTUW/ML-Circle-20-21.git
Check if everything worked fine with git remote -v command and make sure that origin should point to repo on your profile and upstream should point to the original repo (in the Lean In organization like shown below):
Update any changes (if any) using: git checkout main git pull upstream main git push origin main
Enter username and password, if prompt.
Create a branch to work on and checkout/switch to it. git checkout -b <branch name>
On Anaconda Prompt
8. Open the cloned repository in Jupyter Notebook
9. Go to Python-Session/Submissions and copy the Assignment 1.ipynb in the same folder and name it as your GitHub-name.
10. Start solving the assignment and save when done.
On Git Bash
11. Check git status to know if only the required files are changed.
12. Do the following:
* git add .
* git commit -m "<commit message>"
* git push origin <branch name>
13. Open the this repository. It must be showing that a new branch is pushed.
14. Click Pull request or Compare
15. Create a pull request.
On Git Bash
Once the Pull Request gets merged update your origin and local main with the changes in upstream using: git checkout main git pull upstream main git push origin main
Congratulations for completing an Open Source Workflow!
The following steps will help you submit the latest Python Assignment on GitHub:
On Git Bash
2.
cd
to the location you want to clone your repository.3. Clone the forked repository (newly created repository on your GitHub Profile) using:
git clone <url of forked repo>
4.
cd
to that repository and checkgit status
to see if everything is fine.5. Add a Git remote (say named
upstream
) for the original repository using the command:git remote add upstream https://github.com/Lean-IN-IGDTUW/ML-Circle-20-21.git
Check if everything worked fine with
git remote -v
command and make sure that origin should point to repo on your profile and upstream should point to the original repo (in the Lean In organization like shown below):git checkout main
git pull upstream main
git push origin main
Enter username and password, if prompt.
git checkout -b <branch name>
On Anaconda Prompt
8. Open the cloned repository in
Jupyter Notebook
9. Go to Python-Session/Submissions and copy the
Assignment 1.ipynb
in the same folder and name it as your GitHub-name.10. Start solving the assignment and save when done.
On Git Bash
11. Check
git status
to know if only the required files are changed.12. Do the following:
*
git add .
*
git commit -m "<commit message>"
*
git push origin <branch name>
13. Open the this repository. It must be showing that a new branch is pushed.
14. Click
Pull request or Compare
15. Create a pull request.
On Git Bash
Once the Pull Request gets merged update your
origin
and local main with the changes inupstream
using:git checkout main
git pull upstream main
git push origin main
Congratulations for completing an Open Source Workflow!
Note: You can read more about these steps here
The text was updated successfully, but these errors were encountered: