-
Fork the repository on your GitHub account by clicking the Fork button
-
Clone your fork on your machine (feel free to go over SSH)
$ git clone https://github.com/<USERNAME>/sass-guidelines
-
Put yourself on the
gh-pages
branch$ git checkout gh-pages
-
Create a new branch named after your language short code (e.g.
de
for German)$ git checkout -b <LANGUAGE>
Read TRANSLATING.md to know more about this.
Once you are done with the translation, make sure your branch is up-to-date with the gh-pages
branch
$ git fetch
$ git rebase origin/gh-pages
If there is a conflict (which is unlikely but we never know), resolve it, add the file (git add <FILE(S)>
) and continue the rebase (git rebase --continue
) until there is no more conflict.
Then it is time to push your branch to your fork
$ git push origin <LANGUAGE>
Last but not least, go on GitHub, and submit a pull-request from your branch against the gh-pages
of the original repository.