Hacktoberfest-2023 CPP Codes DSA
**This is a beginner-friendly project to help you get started with your hacktoberfest journey. hacktoberfest.
- You are allowed to make pull requests that break the rules. We just merge it ;)
- Add only relevant codes
- Try to keep pull requests small to minimize merge conflicts
- Fork this repo (button on top)
- Clone on your local machine
git clone https://github.com/Immortal17/CPP-Codes-DSA.git
- Navigate to project directory.
cd CPP-Codes-DSA
- Create a new Branch
git checkout -b my-new-branch
git add .
- Commit your changes.
git commit -m "Short Message"
- Then push
git push origin my-new-branch
- Create a new pull request from your forked repository
An easy way to avoid conflicts is to add an 'upstream' for your git repo, as other PR's may be merged while you're working on your branch/fork.
git remote add upstream https://github.com/Immortal17/CPP-Codes-DSA
You can verify that the new remote has been added by typing
git remote -v
To pull any new changes from your parent repo simply run
git merge upstream/master
This will give you any eventual conflicts and allow you to easily solve them in your repo. It's a good idea to use it frequently in between your own commits to make sure that your repo is up to date with its parent.
For more information on syncing forks read this article from Github.
- Who all can contribute?
- Anyone with a github account and who is signed up for hacktoberfest :)
Happy Contributing Ahead and best of luck for hacktoberfest 2k23