Ubuntu——创建Git仓库并上传文件
- 安装配置
$ sudo apt-get install git git-core
$ git config --global user.name <your-name>
$ git config --global user.email <your-email>
- 下载现有代码库(master branch)
$ git clone git@github.xx.com:xx.g
$ sudo apt-get install git git-core
$ git config --global user.name <your-name>
$ git config --global user.email <your-email>
$ git clone git@github.xx.com:xx.g