Closed (fixed)
Project:
Git on Drupal.org
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2011 at 23:14 UTC
Updated:
16 Feb 2011 at 06:00 UTC
I create a new project on http://git-dev.drupal.org
On my PC the commands are:
mkdir fransk-test2
cd fransk-test2
git init
echo "name = fransk-test2" > fransk-test2.info
git add fransk-test2.info
git commit -m "Initial commit."
git remote add origin ssh://franskuipers@git-dev.drupal.org:2222/project/fransk-test2.git
git push origin master
cd ..
rm -rf fransk-test2/
git clone ssh://franskuipers@git-dev.drupal.org:2222/project/fransk-test2.git
cd fransk-test2
git co -b 7.x-1.x
ls -l
touch README.txt
git add .
git commit -m "Added: README.txt"
git push origin 7.x-1.xWent back to http://git-dev.drupal.org/project/fransk-test2/git-instructions
I expect a select-box with 2 branches: master & 7.x-1.x but only the master branch is showing.
Comments
Comment #1
eliza411 commentedWas there text in that README.txt file?
Comment #2
franskuipers commentedThere was no text in the readme.
Comment #3
eliza411 commentedI verified, your branch should have appeared and the problem was due to some code that came in with Friday night's last batch. Now that we've reverted that bit, you should have more success.
I asked about text in the file because earlier when testing I had some odd results when I committed empty files and I hadn't yet narrowed down my exact steps.
At any rate, what you did would have worked, and it does on today's build.
If it works for you, then we can safely close this issue.
Comment #4
webchickI followed Frank's steps (except webchick instead of frank in the examples :)) and all seems to be working now.