Skip to content

Latest commit

 

History

History
102 lines (69 loc) · 2.27 KB

File metadata and controls

102 lines (69 loc) · 2.27 KB

Working with Existing Projects

1. Fork the Main Repository

Fork the main repository by creating a copy of the project in your GitHub account.

https://github.com/<your_username>/revolution-software-club

2. Clone the Repository

Go to code option copy https URL and clone the repository to your local system using the following command:

  git clone https://github.com/<your_username>/revolution-software-club.github.io.git

3. Navigate to the Directory

Change directory to the cloned repository:

cd revolution-software-club

4. Add Upstream URL

Add the upstream URL to track the original repository:

git remote add upstream https://github.com/revolution-software-club/revolution-software-club.github.io.git

5. Verify Remote URLs (Optional)

Optionally, verify remote URLs using:

git remote -v

6. Create a New Branch

Create a new branch to work on your feature.

git checkout -b feature1

7. Work on the Feature

Implement your feature or make changes in this branch.

8. Stage and Commit Changes

git add .
git commit -m "Your descriptive message"

9. Push Changes to Your Branch

Push your changes to your branch on GitHub :

git push origin feature1

Once setup is done then follow this command till end of your project

1. Sync with Main Repository

daily go on the repo click on sync button then come on terminal fire this cmd

git pull origin main

2. Create a New Branch

Create a new branch to work on your feature.

git checkout -b feature2

3. Work on the Feature

Implement your feature or make changes in this branch.

4. Stage and Commit Changes

git add .
git commit -m "Your descriptive message"

5. Push Changes to Your Branch

Push your changes to your branch on GitHub :

git push origin feature2