Skip to content

Two remote repos for same project with different files #23777

Answered by yamiacat
ShaCP asked this question in New to GitHub
Discussion options

You must be logged in to vote

Hi shacp! You don’t want the prod repo to have any source code at all, just the compiled binaries?

You could create a totally separate repo that just contains a README and use that for your prod repo, and attach each build as a Release?

https://help.github.com/en/github/administering-a-repository/managing-releases-in-a-repository#creating-a-release

Doing this seems perhaps a little counterproductive - traditionally Releases are a snapshot of the code in the repository at a specific point.

You wouldn’t perhaps prefer to have a dev repo where you work on your code as normal, and then a prod repo where you push up only the master branch when you are ready to make a new production build? You …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants