服务器端:
$ 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