On Thu, 2007-10-18 at 17:14 +0200, Steffen Prohaska wrote:Now the push went OK: git push ssh://devsrv/var/git/os2kernel.git linus:refs/head/linus Warning: No xauth data; using fake authentication data for X11 forwarding. updating 'refs/head/linus' using 'refs/heads/linus' from 0000000000000000000000000000000000000000 to bbf25010f1a6b761914430f5fca081ec8c7accd1 Generating pack... Done counting 0 objects. Writing 0 objects... Total 0 (delta 0), reused 0 (delta 0) refs/head/linus: 0000000000000000000000000000000000000000 -> bbf25010f1a6b761914430f5fca081ec8c7accd1 but there is no linus branch in the server repo! However: git push ssh://devsrv/var/git/os2kernel.git linus creates a linus branch in the server and git push ssh://devsrv/var/git/os2kernel.git :linus Warning: No xauth data; using fake authentication data for X11 forwarding. deleting 'refs/heads/linus' refs/heads/linus: bbf25010f1a6b761914430f5fca081ec8c7accd1 -> deleted Everything up-to-date deletes the linus branch on the server and so does git push ssh://devsrv/var/git/os2kernel.git :refs/heads/linus ahh, now I see. When creating the branch the refspec needs to be refs/heads/linus, not refs/head/linus refs/head/linus will create just that on the server. git branch does not look there, only in refs/heads Seems like it is a bit too easy to make mistakes here. Why can I delete a branch with :linus but not create one with linus:linus? Also confusing that git lets me create refs/head/linus when git branch cannot find it. Jocke - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| David Miller | [GIT]: Networking |
| Thomas Gleixner | Re: Regression in 2.6.27 caused by commit bfc0f59 |
| Rafael J. Wysocki | [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - bisected |
| jmerkey | [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc4 released |
git: | |
| Mike | I don't want the .git directory next to my code. |
| Kevin Ballard | Re: git on MacOSX and files with decomposed utf-8 file names |
| Karl | Re: git-svn should default to --repack |
| Ken Pratt | pack operation is thrashing my server |
| carlopmart | About Xen: maybe a reiterative question but .. |
| NetOne - Doichin Dokov | OpenBSD as Xen domU |
| Nick Guenther | Re: Real men don't attack straw men |
| Paul Barbeau | RAID/Intel Installation Problem |
| Wang Chen | [V#2 PATCH 0/18] netdevice: Fix directly reference of netdev->priv |
| Indan Zupancic | Re: Realtek 8111C transmit timed out |
| Alexey Kuznetsov | Re: [TCP]: TCP_DEFER_ACCEPT causes leak sockets |
| Alexey Dobriyan | Re: [GIT]: Networking |
