From: Samuel Tardieu Date: Thu, 20 Mar 2008 10:53:31 GMT Subject: Invalid refspec? Message-ID: <2008-03-20-11-53-31+trackit+sam@rfc1149.net> I am using git master branch locally (1.5.5.rc0.133.g7e207), and the server is using 1.5.4.rc3.g16335. I want to push my HEAD~1 revision into the 2.0 branch on the server, and it looks like it is not expanded anymore in the refspec: % git push origin HEAD~1:2.0 fatal: Invalid refspec 'HEAD~1:2.0' fatal: The remote end hung up unexpectedly Isn't HEAD~1 supposed to be expanded locally? Using the SHA-1 instead of HEAD~1 works fine. Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/