A free Git client for Windows or Mac.
Ubuntu Git Server
http://jasonyu.cn/html/2009/30.html
http://littlebmix.blogspot.tw/2011/02/g ... linux.html
http://littlebmix.blogspot.tw/2011/02/g ... linux.html
代碼: 選擇全部
ssh://yehlu@10.10.40.2/var/git/opensourcepos
代碼: 選擇全部
mkdir opensourcepos
cd opensourcepos/
git --bare init
vi description
cd ..
chmod 777 opensourcepos/ -fR
Re: A free Git client for Windows or Mac.
http://blog.f1982.com/blog/?p=1042
提交的时候报错出现小状况
*** Project description file hasn't been set
error: hooks/update exited with error code 1
error: hook declined to update refs/heads/master
To ssh://root@192.168.0.108/var/git/new_project.git/
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://root@192.168.0.108/var/git/new_project.git/'
这里描述了我遇到的问题,是由于在项目的目录下有个文件叫做 description的文件,如果文件中包含 “Unnamed repository;”以外的文本把其他文本都删掉。
提交的时候报错出现小状况
*** Project description file hasn't been set
error: hooks/update exited with error code 1
error: hook declined to update refs/heads/master
To ssh://root@192.168.0.108/var/git/new_project.git/
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://root@192.168.0.108/var/git/new_project.git/'
这里描述了我遇到的问题,是由于在项目的目录下有个文件叫做 description的文件,如果文件中包含 “Unnamed repository;”以外的文本把其他文本都删掉。