CodeChef solutions in C.
In order to make a hassle-free environment, I implore you all (while contributing) to follow the instructions mentioned below!
Happy Submissions 🙂
- Download the "Git" if you are a windows user from https://git-scm.com/download/win , For MAC users git is already intalled in your terminal by default.
- Then, fork this repository 🍴 and follow the given instructions:
- After installation, Open "git bash".
# clone the repository to your local machine
$ git clone https://github.com/<YOUR-GITHUB-USERNAME>//CodeChef-Solutions-C-gnu.git
# navigate to the project's directory and install all the relevant dev-dependencies
$ cd CodeChef-Solutions-C-gnu
# include all the latest changes from the remote repository
$ git remote add upstream https://github.com/KoushikReddyB/CodeChef-Solutions-C-gnu
$ git fetch upstream
$ git merge upstream/master
- Add your submissions for the milestone you are working on in the respective milestone folder
- Once you have made your changes, run the following command:
# add your changes
$ git add .
# make your commit
$ git commit -m "<YOUR-COMMIT-MESSAGE>"
# push your changes
$ git push -u origin master #for first time push
$ git push #from second push onwards
Think you're ready ❔ Make the Pull Request 🍹
- open your forked repository
- Click on Create New Pull Request
- Give a message in the comment box about the Pull Request
- Hurrah!! Your first Pull Request made! Wait for your submission to be accepted and your Pull Request to be merged.