# 克隆现有的仓库(项目)

克隆仓库的命令格式是 git clone [url] 。 比如,要克隆 Git 的可链接库 my-works,可以用下面的

命令:

git clone https://gitee.com/aicodingedu/my-works.git
1

如果你想在克隆远程仓库的时候,自定义本地仓库的名字,你可以使用如下命令:

git clone https://gitee.com/aicodingedu/my-works.git myworks2
1
Last Updated: 1/10/2026, 11:14:15 AM