Git access
Push over HTTPS with a token or with an SSH key, and how to connect your account on git.citexnode.com.
2 min read
On this page
Your Git user
With your first project you get your own user on git.citexnode.com; its name starts with cx-. It owns the repositories we create for you (template, empty, import). Everything about it is under Deploy → Git access in the Access to your repos box.
Pushing over HTTPS
The user name is your cx- name (User), the password is the Token (password for HTTPS). Use Show and Copy to get it; New token makes the old one invalid immediately. That is useful if it ended up somewhere it should not be.
git clone https://git.citexnode.com/cx-xxxxxxxx/myproject.gitGit asks for user and token on the first push. To stop it asking every time, a credential helper stores them, for example git config --global credential.helper store.
Pushing with an SSH key
Under Deploy → Git access → SSH keys, enter a name such as "Laptop", paste the contents of ~/.ssh/id_ed25519.pub under Public key and click Add. Never hand out the private key. After that, no token is needed:
git remote add citex git@git.citexnode.com:cx-xxxxxxxx/myproject.gitYour own account on git.citexnode.com
If you have a regular account on git.citexnode.com with your own repositories or organisations, connect it under Deploy → Git access → Connect Gitea account with Connect with Gitea. After that, you pick from your repositories directly when creating a project. An account on git.citexnode.com can be connected to exactly one CitexNode account. Disconnect ends the connection.
So that we can build, we add our bot user citexdeploy with read access and a webhook to the repository. If you remove either, pushes no longer reach us.