- Open a terminal.
- Navigate to your Home folder (under Users > find folder with your user name).
- Create a folder in your Home folder. Name the folder as
Github-Step1
- Clone the repo into the folder you just created.
- To clone , run
git clone git@github.com:puchki-chat07/Howdy.git
to clone the repo. - Learn more about the
git clone
command. More details on how clone works. More like "behind-the-scene-effect" of the git clone command. - You can also copy the above clone command from GitHub. See this screenshot.
- To clone , run
- Create a branch. The branch you create is associated to the folder you are in. Git will now track all changes you make to the files/folders stored under
Github-Step1
.- To create a new branch (and switch to the branch at the same time), run
git checkout -b <branch_name>
. - Learn more about git checkout command.
- To create a new branch (and switch to the branch at the same time), run
- Run
git branch
to verify that you are on the branch you just created. - Run
git status
to verify that there are no uncommitted changes and your branch is up to date. - Run
git push origin <branch_name>
to create a remote copy of your branch on GitHub.
- In your terminal run
atom .
to open atom and start proofediting and structuring the content following the Technical Writing best practices. See MSTP for reference. - Run
git add .
to add the changes to your branch. - Run
git commit -a
to add a brief details of the changes you made and that are ready to be committed. - Run
git push origin <branch_name>
. - Go to Github and click Create a pull request. See this screenshot for more instruction.
- Verify both the origin (master) and your branch that you want to merge. This merges your fork to master.
- Add comment.
- Click Merge Pull request.
- Click Confirm Merge to apply the changes to the repo.
Once you are done, move the Getting Started to a new folder.