So now while you are done with your coding, Its time to submit your code to us so that we can review it later. Following are the steps required to submit your code.
- First of all you need to fork this repository. Just click on the fork button on the top-right of repository page.
2. Wait few seconds and gitHub will create a fork of this repository under your ownership.
- Copy the clone URL from your fork.
- Clone the repo to your local machine.
git clone <forked-repo-url>
Example
git clone https://github.com/mtariq61/hacareem-khi-submissions.git
Create a branch and check it out with your team name.
git checkout -b team-xx
Example
git checkout -b team-01
Yes now here is the step where you put your changes in branch you just created in your forked project.
- Add your files/folders using git add
git add -A
- Commit them to your local branch. Your commit message should say "Solution submission for Problem xx"
git commit -m "Solution submission for problem xx"
- Finally Push them the create branch of your Forked Repo
git push origin team-xx
PLEASE DO NOT SUBMIT IN MASTER BRANCH. OTHER WISE YOUR MERGE WILL ENDUP IN CONFLICTS AND WILL NOT MERGE PROPERLY.