快速创建git 仓库

Quicksetup—ifyou'vedonethiskindofthingbefore

viaHTTP

Createanewrepositoryfromthecommandline

touchREADME.md

gitinit

gitaddREADME.md

gitcommit-m"firstcommit"

gitremoteaddoriginhttp://localhost:8080/git/root/aaa.git

gitpush-uoriginmaster

Pushanexistingrepositoryfromthecommandline

gitremoteaddoriginhttp://localhost:8080/git/root/aaa.git

gitpush-uoriginmaster

相关推荐