(Of course if you had the right permissions, you could directly edit the website and push to master, but these instructions are written for the more general SWC body who may not have write permissions.)
Prerequities: Github account, read access to wmswc/wmswc.github.io
with ssh:
$ git clone [email protected]:<USERNAME>/wmswc.github.io.git
with html:
$ git clone https://github.com/<USERNAME>/wmswc.github.io.git
- Go to your cloned repository
$ cd wmswc.github.io/
- Add the original repository as a remote, "upstream"
$ git remote add upstream [email protected]:wmswc/wmswc.github.io.git
In the future, you might want to get the remote's changes using:
$ git fetch upstream
$ git merge upstream
- Make a branch for your changes
- here we will make (
-b) and move onto (checkout) a new branch (your-branch-name) which is based on the branchmasterfrom our original repository (upstream)
- here we will make (
$ git checkout -b your-branch-name upstream/master
-
Make changes
-
Commit your changes
For example:
$ git add --all
$ git commit -m "short description of changes"
$ git push -u origin your-branch-name
-
Create a pull request
One way to do this is by -
Ask someone with write permissions to approve and merge your pull request





