peachykeen
peachykeen

Reputation: 4411

How to setup GitHub write-only access

I am looking to create a GitHub repository to collect Python scripts from around 30 people. However, I want these people to be able to push to the repository without seeing its contents, i.e. have write-only access. In other words, I am looking for the following access-controls:

Is there a way to do this easily (or at all)?

I should also say that I have GitHub premium, so I have the abillity to make private repositories.

Upvotes: 1

Views: 403

Answers (1)

user229044
user229044

Reputation: 239290

You cannot do this. You cannot make updates to a Git repository without first reading (cloning) the repository. Git deals in commits, and for a user to create a new commit, they need to have the previous commit and its commit ID.

Git is not the right tool for this job.

Upvotes: 1

Related Questions