---
title: "Discussion on \"How to prepare your private repository for the public\" | Hashnode"
description: "Discussion on \"How to prepare your private repository for the public\". I usually work on pet projects using git to keep track of changes but without thinking too much about exposing credentials or sensitive information, and once it is a good idea to publish it I clean it up.\nStep 1\nThe first thing I do is push my curren..."
url: "https://hashnode.com/posts/how-to-prepare-your-private-repository-for-the-public/61cc5b2e4179dc35f7960238"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to prepare your private repository for the public](https://blog.fabianmendez.dev/how-to-prepare-your-private-repository-for-the-public?utm_source=hashnode&utm_medium=feed)

I usually work on pet projects using git to keep track of changes but without thinking too much about exposing credentials or sensitive information, and once it is a good idea to publish it I clean it up. Step 1 The first thing I do is push my curren...

Dec 29, 2021 · 2 min read · blog.fabianmendez.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#gitlab](https://hashnode.com/tag/gitlab)

## Written by

[Fabian Mendez](https://hashnode.com/@fabianMendez)

@fabianMendez

  
[View profile](https://hashnode.com/@fabianMendez)

Software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
