Using git version 2.4.1.171.ga34f239, and gitolite v3.6.3 (b05c94ff). I apologize I don't know enough about the client vs server functions, during a git push, to know whether this is a git or gitolite issue. After cloning the public glibc repo, and creating a new bare repo on my local gitserver by adding it to gitolite.conf and pushing it: $ git push --set-upstream origin Counting objects: 339319, done. Delta compression using up to 10 threads. Compressing objects: 100% (55496/55496), done. Writing objects: 100% (339319/339319), 99.28 MiB | 22.67 MiB/s, done. Total 339319 (delta 283044), reused 331722 (delta 276505) To gitserver:glibctest * [new branch] master -> master Branch master set up to track remote branch master from origin. **After resetting to before the last push**: (removing and re-cloning my clone of the public glibc repo, and resetting the repo on my local gitserver back to a new bare repo (removing the repo from gitolite.conf, pushing the conf, removing the repo directory in the gitolite user, re-adding the repo to gitolite.conf, and pushing the conf): $ git push --tags --set-upstream origin Counting objects: 382283, done. Delta compression using up to 10 threads. Compressing objects: 100% (62075/62075), done. Writing objects: 100% (382283/382283), 101.16 MiB | 19.64 MiB/s, done. Total 382283 (delta 316774), reused 376933 (delta 312407) To gitserver:glibctest * [new tag] cvs/ChangeLog -> cvs/ChangeLog * [new tag] ... <a bunch more> ... * [new tag] glibc-2.9 -> glibc-2.9 Note this time there is NO: * [new branch] master -> master Branch master set up to track remote branch master from origin. Hence, my local gitserver has no master branch. If cloning in another location, I get a "warning: remote HEAD refers to nonexistent ref, unable to checkout." that I don't get if I do a "git push --set-upstream origin && git push --tags" instead. -- 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