我有托管,让我ssh访问。git推到裸仓库,然后拉不工作
我创建了裸仓库。下班前我在哪里推。但是,当我从那里提出更改时,它不起作用。
[email protected] ~/www/project $ git push
Everything up-to-date
配置为:
[email protected] ~/www/project $ git config -l
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=ssh://[email protected]/~/project.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
然后家里的电脑:
[email protected] /var/www/project $ git pull
Already up-to-date.
[email protected] /var/www/project $ git config -l
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=ssh://[email protected]/~/project.git
branch.master.remote=origin
branch.master.merge=refs/heads/master
gui.wmstate=normal
gui.geometry=962x330+284+384 207 192
如果每一件事情是UPTODATE和已经高达日期,那么为什么它们有什么不同?我如何使用这个设置。我应该打开他们两个同步,没有帮助我的托管ssh访问?
这篇文章被标记为“git-svn”,但没有其他引用svn。我错过了什么? – nobar 2011-04-16 00:47:10
我认为我使用存储库的方式看起来完全如何svn工作。 – nerkn 2011-04-16 05:18:26