How to add more remote branches to flare-game.

How to add more remote branches to flare-game.

Hi all,

Stefan Bellar was kind enough to make a git-bundle of the current repo. but for some reason it doesn't have references to the other branches.

Verifying the bundle before un-bundling was done like this :-

:~/games$ git bundle verify flare-game.bundle
The bundle contains this ref:
e91152cefbb4fee50351ed2664f0d605f38e9fb1 refs/heads/master
The bundle records a complete history.
flare-game.bundle is okay

Unbundling the git-bundle was done like this :-

:~/games$ git clone flare-game.bundle
Cloning into 'flare-game'...
Receiving objects: 100% (29726/29726), 557.97 MiB | 32.76 MiB/s, done.
Resolving deltas: 100% (19887/19887), done.
Checking connectivity... done
warning: remote HEAD refers to nonexistent ref, unable to checkout.

As can be seen it says the remote head has some issue.

$ gi
== Remote URL:
origin    /home/shirish/games/flare-game.bundle (fetch)
origin    /home/shirish/games/flare-game.bundle (push)

== Remote Branches:
  origin/master

== Local Branches:

== Most Recent Commit
fatal: bad default revision 'HEAD'

Type 'git log' for more commits, or 'git show' for full commit details.

same can be seen in most recent commit.

The URL for the Remote branch would not have been correct if I had not changed the details in ~/games/flare-game/.git/config file.

~/games/flare-game/.git$ cat config
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    url = https://github.com/clintbellanger/flare-game.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master

~/games/flare-game$ gi
== Remote URL:
origin    https://github.com/clintbellanger/flare-game.git (fetch)
origin    https://github.com/clintbellanger/flare-game.git (push)

== Remote Branches:
  origin/master

== Local Branches:
* master

== Most Recent Commit
commit e91152cefbb4fee50351ed2664f0d605f38e9fb1
Merge: 85f535e 044d946
Author: Justin Jacobs <jajdorkster@gmail.com>
Date:   Sat Aug 24 05:46:10 2013 -0700

    Merge pull request #350 from stefanbeller/master
   
    Correct the option 2 for playing the game without installing

Type 'git log' for more commits, or 'git show' for full commit details.

Now as can be seen in the Remote branches it shows only origin/master.

Now I do not know a better way to do it. At least it seems to work.

~/games/flare-game$ git pull origin master
From https://github.com/clintbellanger/flare-game
 * branch            master     -> FETCH_HEAD
Already up-to-date.

I actually would not know if this would work or not unless somebody makes a commit or two and then I try go pull and merge it in my repo.

From the github site, at least three other branches exist and am sure in future more branches will come :-

branch 0.17
branch 0.18
empyrean