What is a .git.dmp file and how can I use it?
I just backe开发者_如何学JAVAd up my unfuddle account and it sent a zip file with my git repositories as a .git.dmp file. Do I just remove the .dmp ending and use it like a normal .git repository?
This blog post has a good explanation of using Git and Unfuddle. In short, it says to:
mkdir reponame
cd reponame
git init
git fast-import < ../my-unfuddle-backup.git.dmp
git checkout master
Check if it is possibly a git bundle. If that's the case, you can simply clone it to a new directory:
git clone whatever.git.dmp whatever
if it is a git internal bundle there's also just:
git bundle verify filename.git.dmp
command. No need to try to clone it
精彩评论