Git: cloning and pushing
A SKILLOK repository is plain git. A public one clones without signing in; a private one and pushing need an access token over HTTPS or an SSH key.
Two ways to authenticate#
| Way | What you need | When it is handy |
|---|---|---|
| HTTPS + token | a token from Settings → Access tokens | quick, from any computer |
| SSH + key | a public key in Settings → SSH keys | everyday work: the secret never lands in .git/config |
Git does not accept your account password — only a token or a key.
In this section
-
Cloning and pushing changes
The «Code» button on the repository page gives the HTTPS or SSH address and a ZIP download; here are the commands to clone a repository and push changes into it.
-
HTTPS and access tokens
A token replaces the password for git over HTTPS. It is created in the settings and shown once; its rights are read (clone) or read and write (push).
-
SSH keys
Add your machine's public key, and clone and push go over ssh:// without a token or a password.