Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Assignment Submission #4

Open
soumyaa1804 opened this issue Jan 31, 2021 · 1 comment
Open

Python Assignment Submission #4

soumyaa1804 opened this issue Jan 31, 2021 · 1 comment

Comments

@soumyaa1804
Copy link
Member

soumyaa1804 commented Jan 31, 2021

The following steps will help you submit the latest Python Assignment on GitHub:

  1. Fork this original repository.

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):
image

  1. Update any changes (if any) using:
    git checkout main
    git pull upstream main
    git push origin main
    Enter username and password, if prompt.
  2. 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!

Note: You can read more about these steps here

@Roshni-Sahoo
Copy link

Session-2 Assignment submission on GitHub link:
https://github.com/Roshni-Sahoo/LeanIn-Python-Task2.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants