Hi DM,
I've made an update to one of my JS scripts that's in the Synchronet Git repository. I created a branch for it, and I created an account on gitlab.synchro.net. I added a public SSH key to my GitLab account, and my private key is saved to id_rsa in a .ssh directory in my user directory (I'm using Windows). When I try to push my branch with 'git push', I entered my username & password for gitlab.synchro.net, and it says I am not allowed to push code to this project:
remote: You are not allowed to push code to this project.
fatal: unable to access 'https://gitlab.synchro.net/sbbs/sbbs.git/': The requested URL returned error: 403
I'm not sure if there's a step I might be missing. I'm using the command-line git, and I'm wondering if there's a step to point Git to my private key or something?
remote: You are not allowed to push code to this project.
fatal: unable to access 'https://gitlab.synchro.net/sbbs/sbbs.git/':
The requested URL returned error: 403
You need to use SSH instead of https: http://wiki.synchro.net/howto:git#push_without_password
remote: You are not allowed to push code to this project.
I just sent you a developer invite on gitlab.synchro.net. That should fix that.
Re: Git permissions and pushing branches, etc
By: Digital Man to Nightfox on Fri Nov 27 2020 12:29 pm
I just sent you a developer invite on gitlab.synchro.net. That should fix that.
Thanks. I was able to push up my branch.
Also, if it's my own mod I'm checking in, who should I assign a merge request to? If I'm the only one working on my mod, would I assign the merge request to myself and merge it to master?
Also, if it's my own mod I'm checking in, who should I assign a merge
request to? If I'm the only one working on my mod, would I assign the
merge request to myself and merge it to master?
You'll need a maintainer to perform the merge to master. You can assign the merge request to me. --
Sysop: | MarisaG |
---|---|
Location: | South San Francisco, CA |
Users: | 5 |
Nodes: | 10 (0 / 10) |
Uptime: | 229:28:14 |
Calls: | 123 |
Files: | 36 |
Messages: | 30,541 |