S
S
Stim72021-02-16 22:13:26
GitHub
Stim7, 2021-02-16 22:13:26

How to disable viewing commits in a repository?

Hello everyone, is it possible in my public repository to prevent other users from viewing my commits in this repository?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-02-16
@Stim7

No, that's the point of the git.
If you want to disable viewing commits, just remove the repository from public access and publish the final version of the code somewhere on your site.
Another option is to rewrite history so that that business logic never exists. (xs how to do it, I just know that this can be done)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question