Gitsync error



  • After installing git package, and doing 'playback gitsync master', I get:

    ===> Checking out master
    ===> Fetching updates…
    remote: Counting objects: 128266, done.
    remote: Compressing objects: 100% (35445/35445), done.
    remote: Total 128266 (delta 92288), reused 127494 (delta 91772)
    Receiving objects: 100% (128266/128266), 25.28 MiB | 2.03 MiB/s, done.
    Resolving deltas: 100% (92288/92288), done.
    From git://github.com/pfsense/pfsense

    • branch            HEAD      -> FETCH_HEAD
      fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
      Use '–' to separate paths from revisions, like this:
      'git <command></command>[<revision>…] – [<file>…]'</file></revision>

      ===> Installing new files…
      ===> Removing FAST-CGI temporary files...
      ===> Upgrading configuration (if needed)...
      ===> Configuring filter...
      ===> Running /etc/rc.php_ini_setup...
      ===> Locking down the console if needed...
      ===> Signaling PHP and Lighty restart...
      ===> Checkout complete.

    What's the error message telling me?

    2.1-BETA1 (i386)
    built on Fri Mar 22 11:05:31 EDT 2013



  • Ok, figured it out. For some reason my .git/config file was missing the following line:

    [remote "origin"]
            fetch = +refs/heads/:refs/remotes/origin/**
            url = git://github.com/pfsense/pfsense.git


Locked