Le mercredi, 2 décembre 2020, 21.07:35 h CET Jonas Smedegaard a écrit : > Quoting Helge Kreutzmann (2020-12-02 19:54:52) > > > Hello Jonas, > > > > On Wed, Dec 02, 2020 at 06:57:29PM +0100, Jonas Smedegaard wrote: > > > Quoting Jonas Smedegaard (2020-12-02 18:49:29) > > > > > > > Quoting Helge Kreutzmann (2020-12-02 18:32:41) > > > > > > > > > I apologize, I'm aware of the basics of git but somehow I cannot > > > > > reach > > > > > that branch: > > > > > $ LC_ALL=C git checkout -b debian-master origin/debian/main > > > > > > > > Above would checkout debian/main (not debian/master > > > > > > > > try this: > > > > LC_ALL=C git checkout -b debian-master origin/debian/master > > > > > > Arrgh - there was nothing wrong with your command, sorry for the > > > confusion. > > > > > > Try this to refresh what is available at the remote side: > > > git fetch > > > > > > and then this to checkout the new HEAD named the same locally: > > > git checkout debian/main > > > > But I cannot push: > > $ LC_ALL=C git push > > Enumerating objects: 13, done. > > Counting objects: 100% (13/13), done. > > Delta compression using up to 4 threads > > Compressing objects: 100% (7/7), done. > > Writing objects: 100% (7/7), 1.18 KiB | 603.00 KiB/s, done. > > Total 7 (delta 5), reused 0 (delta 0), pack-reused 0 > > remote: GitLab: You are not allowed to push code to protected branches on > > this project. To salsa.debian.org:printing-team/cups.git > > > > ! [remote rejected] debian/main -> debian/main (pre-receive hook > > declined)> > > error: failed to push some refs to > > 'salsa.debian.org:printing-team/cups.git' > > > > Is there some additional configuration you or I need to perform? > > Looks like (as the error message says) you are not permitted to push > directly to that branch. > > I don't know if that is intentional: Let's wait for Didier...
It was not, sorry. I changed the protected branches' configuration now. Cheers, OdyX
signature.asc
Description: This is a digitally signed message part.