Skip to content

GEEKSFORGEEKS-SRMIST-NCR/GEEKSFORGEEKS-SRMIST-NCR.github.io

Repository files navigation

GEEKSFORGEEKS-SRMIST-NCR Chapter Website

An Open Source Website for GEEKSFORGEEKS SRM student chapter built using NextJS.

HacktoberFest Accepted

Contribution Guidelines 🏗

Do you seem to notice any of your favorite features that we are missing? If yes, do you think you can add it and make it a beautiful experience for all?

We are excited to invite you to contribute to this project and make it better.

If you wish to contribute, we highly recommend following the guidelines mentioned below.

1. Fork this repository.

2. Clone your forked copy of the project.

   git clone https://github.com/your_username/GEEKSFORGEEKS-SRMIST-NCR.github.io.git

3. Navigate to the project directory.

   cd GEEKSFORGEEKS-SRMIST-NCR.github.io

4. Create a new branch:

   git checkout -b YourBranchName

5. Make changes in source code.

6. Stage your changes and commit

   git add .
   git commit -m "<your_commit_message>"

7. Push your local commits to the remote repo.

   git push origin YourBranchName

8. Create a PR

Note: If anyone contributes to this repository, the changes will not be reflected in your local repository. For that:

9. Setup a reference(remote) to the original repository to get all the changes from the remote.

   git remote add upstream  https://github.com/GEEKSFORGEEKS-SRMIST-NCR/GEEKSFORGEEKS-SRMIST-NCR.github.io.git

10. Check the remotes for this repository.

   git remote -v

11. Fetching from the remote repository will bring in its branches and their respective commits.

   git fetch upstream

12. Make sure that you're on your master branch.

   git checkout main

13. Now that you have fetched the upstream repository, you can merge its changes into our local branch. This will bring that branch into sync with the upstream, without losing the local changes.

   git merge upstream/main