Skip to content

Sujeet1604/capstone_project

Repository files navigation

Please follow the below steps to sync code.

1. (Cloning) Create a new repository

Open CMD (Command Prompt).

1.1. Navigate to your project directory, where you want to setup the code. ex PGDDA --> Module7 Capstone Project

cd my/directory

1.2. Clone the code into the directory.

git clone https://github.com/Sujeet1604/capstone_project.git

you will see that a folder has been created and all the files will be downloaded into the folder.

Now you can start coding. Once you have done with your coding, 👀do not forget👀 to commit and push your code.
✔️ ** You should pull the code everytime when you are going to code. This will update and sync your code with the latest one.
✔️ ** Once you will done with coding, please make sure to commit and push this code. So that, your code will be synced and main repo will be updated. So, if someone else pull the code, he/she will get the updated code.
✔️ ** I have created seperate R files for everyone. Please code only in your R code. Once tested, it will be merged with mainCode.R

2. (Commit and push) When you are done with the code, follow the 👇below👇 steps to commit and push your changes.

Open CMD (Command Prompt).

2.1. Navigate to the project path

cd your/path/capstone_project

2.2. Check for the changes (You can skip this step when you are used to it)

git status

You will see the files where you have done the changes. There will be three types of changes:

  1. Add -- When you will add any new file/ folder example- PPT, word, excel etc
  2. Remove -- When you remove/delete any file from the directory.
  3. Modified -- When you will modify any file, example your code

2.3. Once you will done coding, follow the 👇below👇 step to commit and push the code

git commit yourCode.R -m "mentioned what you changed/added/coded"

git push

⚠️ Remember, while pushing it will ask your git credentials, so if you don'y have a :octocat:git:octocat: account please create a free git account Here.

3. (Pull ) Everytime when you are going to start coding, please pull the code by 👇below👇 steps so that you will get updated mainCode.R and other's updated code as well.

Open CMD (command prompt)

cd your/path/capstone_project

git pull

Happy Coding:bangbang: Best of Luck :thumbsup:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages