2

When I go to deploy my django installation, I get the following error:

local: git tag -l release/beta* | tail -1
run: git checkout release/beta-20120221-150831 
out: error: pathspec 'release/beta-20120221-150831' did not match any file(s) known to git.

The tag exists on my local box, but it doesn't on my staging server. Why? It sends the most recent release "release/beta-20120221-150831".

CharlesB
  • 86,532
  • 28
  • 194
  • 218
paubins
  • 161
  • 1
  • 11

1 Answers1

8

Note: as explained in "Does “git fetch --tags” include “git fetch”?", starting git 1.9, one command will be enough to fetch both news commits and tags:

git fetch --tags origin

(Before 1.9, you had to do git fetch + git fetch --tags)

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250