完全备份一个git回购? [英] Fully backup a git repo?

查看:103
本文介绍了完全备份一个git回购?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种简单的方法来备份包括所有分支和标签的整个git仓库?

解决方案

克隆它?

  git clone other / repo.git 

每个存储库都是它的远程备份。


Is there a simple way to backup an entire git repo including all branches and tags?

解决方案

Whats about just make a clone of it?

git clone other/repo.git

Every repository is a backup of its remote.

这篇关于完全备份一个git回购?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆