-
Fork this repository. Click the gray
Fork
button in the top right of this page. This creates your copy of the project and saves it as a new repository in your github account -
Open your text editor and Clone your forked repository
git clone https://github.com/YOUR_GITHUB_USERNAME/t_c-generator-team71.git
- Switch to the cloned folder. If you're already in it, then skip this process
cd t_c-generator-team71
- Run the command
git status
. You should get a response like this
On branch master
Your branch is up to date with 'origin/master'
- Create a new branch for the feature you are adding and switch to that branch
git checkout -b <your_branch_name>
-
Add your changes.
-
After adding your changes, navigate back to the root directory. Run
cd..
till the root directory is the last path
C:\Users\hp\Desktop\Merckury\zuri-training\t_c-generator-team71>
- Stage your changes
git add "<name_of_your_file>"
or
git add .
- Commit your changes
git commit -m "<commit_mes>"
- Push your changes
- If you are PUSHING FOR THE FIRST TIME, set your upstream branch to the new branch you created and push that branch to your forked repo
git push --set-upstream origin <your_branch_name>
- If you have PUSHED A CHANGE BEFORE, but you want to push some more changes later. Run
git push origin <your_branch_name>
- Run
git status
and you should get a response like this
"On branch <your_branch_name>"
"Your branch is up to date with 'origin/<your_branch_name>'."
-
Go to your forked Repo on Github and Create a pull request
-
Before you compare and create a pull request, make sure the base directory is
zuri-training/t_c-generator-team71
and the base branch is set todevelop
.
-
Once that is done, Click on the
Create Pull Request