使用场景

场景一:

用 Git 管理已有的代码(把已有的项目代码纳入Git管理)

cd /learn_git

git init .

ls -a

场景二:

用 Git 生成一个空的本地仓库,名字叫 hello_will

git init hello_will

cd hello_will

ls -a

场景三:

下载开源软件仓库到本地进行管理

git clone https://gitee.com/opendevops/opendevops.git

cd opendevops

ls -a

Last updated