Я читал Pro Git и думаю, что понял, как все должно быть сделано.Но я мог внести некоторые странные коррективы в свое невежество раньше, может быть egit внес неполные изменения в репо один раз, когда это вызвало сбои затмения, или я просто что-то упустил.Теперь я отказался от egit и использую git из строки cmd.
Я пытаюсь объединиться с пульта, и я получаю следующее:
[root@localhost justifventures-opentaps]# git remote -v
origin http://git.gitorious.org/opentaps/opentaps.git (fetch)
origin http://git.gitorious.org/opentaps/opentaps.git (push)
[root@localhost justifventures-opentaps]# git remote show
origin
[root@localhost justifventures-opentaps]# git remote show origin
* remote origin
Fetch URL: http://git.gitorious.org/opentaps/opentaps.git
Push URL: http://git.gitorious.org/opentaps/opentaps.git
HEAD branch: master
Remote branches:
1.5M1 new (next fetch will store in remotes/origin)
dataimport new (next fetch will store in remotes/origin)
master new (next fetch will store in remotes/origin)
upgrade-1.5 new (next fetch will store in remotes/origin)
Local ref configured for 'git push':
master pushes to master (local out of date)
[root@localhost justifventures-opentaps]# git merge origin/master
fatal: 'origin/master' does not point to a commit
[root@localhost justifventures-opentaps]#
Одна из вещей, которыеМеня беспокоит то, что этот пульт предназначен только для чтения, поэтому я не уверен, почему есть строка:
origin http://git.gitorious.org/opentaps/opentaps.git (push)
Также он говорит:
Local ref configured for 'git push': master pushes to master (local out of date)
Я не уверенесли это как-то связано с проблемой.Я попытался удалить пульты и добавить их снова, но эта конфигурация, кажется, такая же.
Надеюсь, кто-то с большим опытом сможет пролить свет на мою путаницу.