Skip to content
Discussion options

You must be logged in to vote

If you want to publish a repository on GitHub, but the commits in the repository contain your personal information, you have a couple of options to address this issue. One option is to disable picture previews for the sensitive commits, and another option is to remove the sensitive commits entirely.

Disable Picture Preview for Sensitive Commits:
GitHub doesn't have a built-in feature to disable picture previews for specific commits. However, you can follow these steps to remove the images from the commits and overwrite them:

a. Clone the Repository:
Using GitHub Desktop, clone the repository to your local machine.

b. Remove the Images:
Manually go through the sensitive commits and remove …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@John4650-hub
Comment options

Answer selected by LiteBrite82
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage inactive This discussion has been automatically marked as inactive. This was formerly labeled stale.
3 participants