📜  如何克隆 git 所有存储库 git ubuntu - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:33.739000             🧑  作者: Mango

代码示例2
git-clone@ubuntu:~$ git clone https://github.com/cameronmcnz/my-github-repo.git
git-clone@ubuntu:~$ cd my-github-repo
git-clone@ubuntu:~$ git config --global user.email "ubuntu-clone@example.com"
git-clone@ubuntu:~$ git config --global user.name "cameronmcnz"
git-clone@ubuntu:~$ touch my-file.html
git-clone@ubuntu:~$ git add .
git-clone@ubuntu:~$ git commit -m "strong commit message"
git-clone@ubuntu:~$ git push origin master
git-clone@ubuntu:~$ git reflog