Competitive-Coding

GDSC

Contributing to this Repo

1. Fork this repository.

2. Clone the forked repository.

git clone https://github.com/<your-github-username>/project_name.git

3. Navigate to the project directory.

cd Competitive-Coding

4. Creating a new branch (IMP) This is one of the very important step that you should follow to contribute in Open Source. A branch helps to manage the workflow, isolate your code and does not creates a mess. To create a new branch:

$ git branch <name_of_branch>
$ git checkout -b <name_of_branch>

Keep your cloned repo upto date by pulling from upstream (this will also avoid any merge conflicts while committing new changes)

git pull origin main

5. Make changes in source code.

6. Stage your changes and commit

# Add changes to Index
git add .

# Commit to the local repo
git commit -m "<your_commit_message>"

7. At this point you can use the git push command to push the changes to the current branch of your forked repository:

git push origin <branch-name>

8. Create a Pull Request/PR !

9. Congratulations! Sit and relax, you've made your contribution to Competitve Coding repository of GDSC Cummins.