开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜