Skip to content

Combining repositories #23811

Discussion options

You must be logged in to vote

🚨  WARNING: At no point in what I describe below did I need to use git push --force. If you find yourself with the urge to use git push --force, then you are at risk of losing data and you should back out and start over. git push --force is a potentially destructive command, use it at your own risk. 🚨

Let me start by saying that you should protect yourself from data loss by using scratch repositories to perform your experiments. A scratch repository is one that is disconnected from all other repos so that you can’t possibly mess up anything but the scratch repo, but the various data sources that you’re using to build the scratch one are guaranteed intact. One of the nice things about git …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants