From: Erik V. <eri...@xs...> - 2012-10-06 13:48:17
|
> Testing of Rails2.0 in development is already possible by fetching the git > branch. Trying to fetch Rails2.0, but no luck. What I have sorted out so far are the following commands: - git fetch origin rails2.0 That seems to do something, although 'git branch -r' still only reports origin/master. - git checkout -b rails2.0 origin/rails2.0 That fails with the apparently well-known message "fatal: git checkout: updating paths is incompatible with switching branches. Did you intend... etc.". Adding --track does not help. Doing a 'git pull' first (an advice I found somewhere) does neither. What am I doing wrong? Please note, that I have configured the bare 'git push'/'git pull' to transmit branch 'master' only. I don't have a local Rails2.0 branch yet, which I understand is the proper way to set it up this way. Erik. |