Troubleshoot GitHub


Lost access to GitHub

Not a big problem, just create another account if you can’t recover access to the original one:

Create a GitHub account

a) Click this link to create a GitHub account: https://github.com/

Enter your email and click Sign up for GitHub

../../_images/NewNS00a.png

b) Enter a password and a username (anything you want and that is accepted, not very important).
Type n to decline advertisement emails.

../../_images/NewNS00.png

c) Play and solve the puzzle then click Create account

../../_images/NewNS01.png

d) GitHub will send you a verification code. Open your mail and check your inbox (check your spam-folder if not received after a couple of minutes).

../../_images/NewNS02.png

e) If a personalization sequence starts, click Skip personalization at the bottom.

../../_images/NewNS03.png

f) Leave the page that opened as it is. Don’t close it.

../../_images/NewNS04.png

You have created your GitHub account. Now fork the Nightscout project.


Fork the Nightscout project

a) Click here to log in at GitHub: https://github.com/login.
Enter your username or email and your password. Click Sign in

../../_images/UpdateNS00.png

If you already have a fork of cgm-remote-monitor in GitHub

Delete or update your current cgm-remote-monitor fork before continuing.

b) Open this link https://github.com/nightscout/cgm-remote-monitor. Click on Fork

../../_images/NewNS29.png

Confirm with Create fork

Warning

Make sure you deselect Copy the master branch only.

../../_images/NewNS51.png

c) Wait for a moment

../../_images/NewNS30.png

d) You now have a copy (fork) of the Nightscout project repository in your own GitHub.

../../_images/UpdateNS30.png

You’ll need to reconnect your app to GitHub.



Cannot update GitHub

When encountering update issues with GitHub, the easiest method it to delete it and fork the project again.

Delete your own fork of cgm-remote-monitor

Delete Nightscout?

Your GitHub only contains a copy of the code necessary to create a Nightscout site.
Deleting your fork of cgm-remote-monitor will not impact or stop your Nightscout site.
Even if it sounds scary to delete it, you can do it safely and copy (fork) it again from the main repository.
You cannot delete the main Nightscout (nightscout/cgm-remote.monitor) repository.

Obviously if you’re a Nightscout developer and you customized or modified the repository code, you know better than anybody else you don’t want to delete it… (this documentation is not for you).

a) Click here to log in at GitHub: https://github.com/login.
Enter your username or email and your password. Click Sign in

../../_images/UpdateNS00.png

b) Select your own cgm-remote-monitor project (not nightscout/cgm-remote-monitor)

../../_images/UpdateNS01.png

c) Click Settings

../../_images/UpdateNS26.png

d) Scroll down to Danger zone and click Delete this repository

../../_images/UpdateNS27.png

e) Copy and paste your full repository name to confirm then click I understand...

../../_images/UpdateNS28.png

You have successfully deleted your copy of the cgm-remote-monitor project.


Fork the Nightscout project


You’ll need to reconnect your app to GitHub.