user@host:~$ ssh -p 29418 user@localhost gerrit create-project --empty-commit --name demo-project
上面就是命令,-p應該是指定端口號
user是登陸的名字
localhost本地測試是127.0.0.1,要看服務器怎麼配置了
然後這個創建的是個git倉庫
user@host:~$ ssh -p 29418 user@localhost gerrit create-project --empty-commit --name demo-project
上面就是命令,-p應該是指定端口號
user是登陸的名字
localhost本地測試是127.0.0.1,要看服務器怎麼配置了
然後這個創建的是個git倉庫
一: 安裝openssl和pcre yum -y install pcre-devel openssl openssl-devel 安裝git yum install git -y
取消跟蹤文件&&重新跟蹤 如果修改了.gitignore文件,那麼需要進行如下操作: git rm -rf --cached . git add ./*
創建分支並且拉去遠程同步分支的過程中出現該異常: fatal: 'idea-line-02' is not a commit and a branch 'idea-line