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@xxxxxxxxxxx -- http://www.rfc1149.net/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html