创建服务器git仓库

服务器端:

$ sudo git init --bare mcuboot.git
$ sudo chown -R git:git mcuboot.git

本地电脑:

$ git clone --recursive [email protected]:/srv/git/mcuboot.git
$ cd mcuboot
$ git init
$ touch readme.txt
$ git add readme.txt
$ git commit -m "first commit"
$ git push -u origin master






猜你喜欢

转载自blog.csdn.net/u010018991/article/details/80761052
今日推荐