Skip to content

Commit 62351e3

Browse files
committed
add info on authentication
1 parent 9b30660 commit 62351e3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

GitHub-Guide.qmd

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,15 @@ Be on the look out for an invite to the GitHub Enterprise organization. Accept t
9191

9292
### Authenticating to GitHub
9393

94-
Please see the NMFS Open Science Resource Book on [installing Git and Authenticating to GitHub](https://nmfs-opensci.github.io/ResourceBook/content/github/authenticating.html).
94+
To push and pull changes to GitHub from your computer, you will need to authenticate to GitHub.
95+
96+
* GitHub Desktop. Sign into GitHub under GitHub Desktop > Settings > Account. For both GitHub Free and GitHub Enterprise Cloud, sign into GitHub.com with your username and password (not token). Ignore the GitHub Enterprise sign in. The latter is for an on-premise installation of Enterprise not for Enterprise in the Cloud (which NMFS has).
97+
98+
* Using a Personal Access Token. When using other interfaces to GitHub (like RStudio or the terminal), you can use a token. Go to <https://github.com/settings/tokens> and create a token, which you will use when asked for a password from GitHub. Typically, the scope only needs repo. If you use GitHub Actions, add workflow scope. Copy the token as you will not see it again after it is created. If you need to use the token for GitHub Enterprise, select the Configure SSO button and select your GitHub Enterprise organization.
99+
100+
* Using SSH. <https://www.geeksforgeeks.org/using-github-with-ssh-secure-shell/>
101+
102+
Please see the NMFS Open Science Resource Book on [installing Git and Authenticating to GitHub](https://nmfs-opensci.github.io/ResourceBook/content/github/authenticating.html) for more information on the specifics of set-up for RStudio, VSCode, terminal, etc.
95103

96104
## Background {#sec-background}
97105

0 commit comments

Comments
 (0)