Skip to content

Latest commit

 

History

History
97 lines (68 loc) · 2.23 KB

README.md

File metadata and controls

97 lines (68 loc) · 2.23 KB

This Repo contains...

  1. Introduction to Deep Learning Assignments
  2. Basic ML algorithm
  3. Add More if you want

Upload ML algorithm code in separate files (Ex: Linear Regression, ). Please add comments in the code, so everyone can understand it.

Basic Git Commands

1. Cloning the Repository

Clone the repository to get a local copy of the code. Run this command in your terminal:

git clone https://github.com/rutuvirani/Machine-Learning.git

2. Creating a Branch

Not needed for everyone. It’s a good practice to create a new branch for each feature or fix. Use this command to create and switch to a new branch:

git checkout -b your-branch-name

3. Checking Branch Status

check the status of your changes to see any files that have been modified or are unstaged:

git status

4. Staging Changes

Stage files that you want to include in the next commit:

git add filename

Or to add all changes at once:

git add .

5. Committing Changes

Commit your staged changes with a descriptive message:

git commit -m "Add meaningful commit message here"

6. Pushing Changes to GitHub

Push your branch to GitHub so others can see your changes or to submit a pull request:

git push origin your-branch-name

Replace your-branch-name with the name of your branch.

7. Pull code from GitHub

git pull origin your-branch-name

8. Creating a Pull Request

  1. Go to the GitHub repository in your browser.
  2. Click on the “Pull Requests” tab.
  3. Select “New Pull Request.”
  4. Select your branch, add a description, and create the pull request for review.

Additional Commands

Here are some more helpful Git commands: https://github.com/rutuvirani/Machine-Learning.git Pulling Changes: To update your local branch with the latest changes from the remote repository:

git pull origin main

Merging Branches: To merge changes from one branch into another:

git merge branch-name

Replace branch-name with the name of the branch you’re merging.

Viewing Commit Logs: To see a list of recent commits:

git log

Checkout the youtube video for more insight https://youtu.be/Ez8F0nW6S-w?si=bY7u_oBUXXy6cEsW