git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Strange push/clone errors

From
Tim Visher <tim.visher@gmail.com>
Date
Mar 4, 2009, 14:01 UTC
Message-ID
<c115fd3c0903040601xbfce200q78c53aeee0b44f2c@mail.gmail.com>
Hello Everyone,

I'm trying to maintain an offline copy of the Git repo for our Sandbox environment at work and I just came across and oddity in the behavior I'd expect.

I have a repo on an Internet enabled machine that is a direct clone of the kernel.org version.

    $ git show remote origin
    * remote origin
      URL: http://www.kernel.org/pub/scm/git/git.git
      Remote branch merged with 'git pull' while on branch master
        master
      Tracked remote branches
        html
        maint
        man
        master
        next
        pu
        todo

I then have a repo on a thumb drive that's initially a `clone --bare` of the repo on the Internet enabled machine. I added that as a remote on the previously mentioned repo.

    $ git remote show sandbox
    * remote sandbox
      URL: /cygdrive/f/Documents/git.git/
      Tracked remote branch
        master
When I do a `git push sandbox master` I get the following
    $ git push sandbox master
    Everything up-to-date

The problem is here. Now that I have a supposedly up to date copy on my thumb drive, I'd like to be able to push it out to a central server on our Sandbox network. However, when I do a git clone, tags are missing.

    $ git clone /cygdrive/f/Documents/git.git/
    Initialized empty Git repository in /home/tvishe01/Desktop/git/.git/
    Checking out files: 100% (1589/1589), done.
    $ cd git/
    $ git tag
    ...
    v1.6.1.3
    v1.6.2-rc0
    v1.6.2-rc1
Doing the same thing in the repo connected to kernel.org I get:
    $ git tag
    v1.6.1.3
    v1.6.2
    v1.6.2-rc0
    v1.6.2-rc1
    v1.6.2-rc2

As you can see, v1.6.2 and v1.6.2-rc2 are missing from the repo that I'm pushing to on my thumb drive, despite it claiming it's up to date.

What am I doing wrong?
Thanks in advance!
-- 
In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
Next: Nicolas Sebrecht
Message 1 of 3 in “Strange push/clone errors”
  1. Tim VisherMar 4, 2009
  2. Nicolas SebrechtMar 4, 2009
  3. Tim VisherMar 4, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.