git使用&流程

--免密登录设置
ssh-****** -t rsa -C "[email protected]"
-- 下载svn
[email protected] MINGW64 /d/git-project
$ git svn clone https://192.168.7.246/svn/trade/heyguys/Src/APEC_CJ234_WmsRepositoryNew


[email protected] MINGW64 /d/git-project
$ pwd
/d/git-project


[email protected] MINGW64 /d/git-project
$ cd APEC_CJ234_WmsRepositoryNew/
-- 连接远程
[email protected] MINGW64 /d/git-project/APEC_CJ234_WmsRepositoryNew (master)
$ git remote add origin ssh://[email protected]:56222/heyguys/hey-guys-api/APEC_CJ234_WmsRepositoryNew.git
-- 上传
[email protected] MINGW64 /d/git-project/APEC_CJ234_WmsRepositoryNew (master)
$ git push -u origin master

git使用&流程