[英]Need Guidance on how to copy an existing Repo, rename it and create a new Repo
我有一个用于应用程序的 Cypress 自动化的现有存储库。我想复制存储库 -> 重命名 -> 为另一个应用程序创建一个新存储库
.git
folder.删除.git
文件夹。 Any folder that starts with a period .
任何以句点开头的文件夹.
is hidden by default so you will first have to "show hidden files" for your OS.默认情况下是隐藏的,因此您首先必须为您的操作系统“显示隐藏文件”。git init
in the Cypress2 folder. Cypress2 文件夹中的git init
。Or you can do the above on the command line like this:或者您可以在命令行上执行上述操作,如下所示:
git clone ...
to your Downloads folder git clone ...
到您的下载文件夹cp -R ~/Downloads/Cypress ~/Downloads/Cypress2
rm -R ~/Downloads/Cypress2/.git
cd ~/Downloads/Cypress2
git init
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.