- Fork this repository by clicking on the
Fork
button on the top right of this page. - Clone your forked repository to your local computer.
git
properly configured.
$ git clone [email protected]:<yourName>/basic-git-practice.git
The development scheme is based on a stable master
branch and a development branch named develop
.
Before making changes, create your own branch from develop
:
$ cd basic-git-practice
$ git checkout develop # this switches the branch to develop
$ git checkout -b myBranch # this checks out a new branch called myBranch
Copy the file firstnameLastname.md
in the folder _attendees
and rename it with your first and last names:
$ cd _attendees
$ cp firstnameLastname.md myFirstnameMyLastname.md
Then, make your changes with your favorite editor!
When you are done editing your file, add the file to the stage and commit it:
$ git add myFirstnameMyLastname.md
$ git commit -m "Edit the content of the subpage myFirstnameMyLastname"
Once you are done committing, you can push your branch to your fork:
$ git push origin myBranch
If you now browse to your fork on Github, you can open a pull request and submit it for review.
develop
as the target branch.
Once the pull request has been accepted, you will be able to see your page online! 🎉