当前位置 : 主页 > 网络编程 > PHP >

在码云上克隆数据

来源:互联网 收集:自由互联 发布时间:2021-06-28
gistfile1.txt Y_might@Anty MINGW32 ~/Desktop/1130$ git clone https://gitee.com/alphawu/EmployeeInfo_20171120.gitCloning into 'EmployeeInfo_20171120'...remote: Counting objects: 276, done.remote: Compressing objects: 100% (159/159), done.rem
gistfile1.txt
Y_might@Anty MINGW32 ~/Desktop/1130
$ git clone https://gitee.com/alphawu/EmployeeInfo_20171120.git
Cloning into 'EmployeeInfo_20171120'...
remote: Counting objects: 276, done.
remote: Compressing objects: 100% (159/159), done.
remote: Total 276 (delta 161), reused 154 (delta 114)
Receiving objects: 100% (276/276), 656.15 KiB | 2.79 MiB/s, done.
Resolving deltas: 100% (161/161), done.

Y_might@Anty MINGW32 ~/Desktop/1130
$ git branch
fatal: Not a git repository (or any of the parent directories): .git

Y_might@Anty MINGW32 ~/Desktop/1130
$ cd EmployeeInfo_20171120/

Y_might@Anty MINGW32 ~/Desktop/1130/EmployeeInfo_20171120 (master)
$ git branch
* master

Y_might@Anty MINGW32 ~/Desktop/1130/EmployeeInfo_20171120 (master)
$ git fetch origin 1120:1120
From https://gitee.com/alphawu/EmployeeInfo_20171120
 * [new branch]      1120       -> 1120

Y_might@Anty MINGW32 ~/Desktop/1130/EmployeeInfo_20171120 (master)
$ git checkout 1120
Switched to branch '1120'
网友评论