ubuntu安装git并连接线上服务器克隆项目

1:安装git

        sudo apt-get install git

2:创建账户

         git config --global user.name "Your Name"

     git config --global user.email "[email protected]"

3:克隆项目到本地

     git clone https://github.com/hytcyjb/xxx.git

4:git加忽略文件权限

git config core.filemode false

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章