I have a developer who wants to be able to make a pull-only checkout from stash. He is able to do this on GitLab which is the other git server we are running at work.
He wants it to be read only but stash "doesnt" seem to be setup to support this. How can this be done?
I'm not quite sure what your developer means by a pull-only checkout. As @Mike Friedrich suggested you could limit repository or branch permissions to limit a particular developer to have read-only access to the repository. Alternatively you could use git-archive to grab a read-only copy of the content of the repository at a certain revision?
What is read only for you? You can always set branch permissions to read-only. That would disallow pushes to this branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.