-
Notifications
You must be signed in to change notification settings - Fork 247
Contribute to code
Visit your forked repo, then press the Gitpod button
If you don't have the Gitpod button, prefix the link of the forked repo with https://gitpod.io/# and visit the resulting link.
In the top right corner click on your account login and from the menu select Open Access Control. Enable "write public repos".
Use the terminal to type in commands:
If you don't already have a development branch, type
git checkout -b dev
If you already have a development branch, type
git checkout dev
git fetch upstream master
git reset --hard upstream/master
Edit the source files to modify the code.
Open server.js and change if(scoreUnit == "cp") scoreValue = scoreValue to if(scoreUnit == "cp") scoreValue = scoreValue / 100 in order to display score in pawns instead of centipawns.
Save the file using Ctrl + S or File / Save.
git add . -A
git commit -m "Show cp score in pawns"
git push --force origin dev
Visit your forked repo and select the development branch
Press Compare and pull request
Leave a comment if necessary, then press Create pull request
You have created a pull request and from now on it depends on the maintainer of the main project to accept or reject it.
If your pull request has been accepted, you can update your app according to these Wikis






