Lean-IN-IGDTUW / ML-Circle-20-21

This repository contains the study materials for Lean In Machine Learning Circle 2020-21 Cohort.
MIT License
0 stars 22 forks source link

Python Assignment Submission #4

Open soumyaa1804 opened 3 years ago

soumyaa1804 commented 3 years ago

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

  1. Fork this original repository.

On Git Bash

  1. cd to the location you want to clone your repository.

  2. Clone the forked repository (newly created repository on your GitHub Profile) using: git clone <url of forked repo>

  3. cd to that repository and check git status to see if everything is fine.

  4. 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

  5. Update any changes (if any) using: git checkout main git pull upstream main git push origin main Enter username and password, if prompt.

  6. Create a branch to work on and checkout/switch to it. git checkout -b <branch name>

On Anaconda Prompt

  1. Open the cloned repository in Jupyter Notebook
  2. Go to Python-Session/Submissions and copy the Assignment 1.ipynb in the same folder and name it as your GitHub-name.
  3. Start solving the assignment and save when done.

On Git Bash

  1. Check git status to know if only the required files are changed.
  2. Do the following:
    • git add .
    • git commit -m "<commit message>"
    • git push origin <branch name>
  3. Open the this repository. It must be showing that a new branch is pushed.
  4. Click Pull request or Compare
  5. 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 commented 3 years ago

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