On Oct 25, 2007, at 12:38 AM, J. Bruce Fields wrote:There are two points: - The current implementation of "git push" creates a remote branch if it does not yet exist. I want a safety net: "git push" only pushes if the remote branch already exists. In a sense "git push" is safer than "git push branch-with-typo". I use "git push branchname" exclusively for _creating_ new branches on the remote. - Sometimes I updated two local branches and want to push. "git push" just works. I started to believe that "git push" should always do the right thing. Maybe it is not possible, but actually "git push" always does the right thing for me if I ignore the error messages about local branches that need merging. I tend to merge all such branches right away, although it is a bit of a hassel. Otherwise, there will be a day I'll miss an important error. What concerns me more is how to explain the behaviour to others. Right now, I can't tell them that "git push" just works but need to go into a lot of details. Steffen - 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
| H. Peter Anvin | Re: [rft] s2ram wakeup moves to .c, could fix few machines |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Ingo Molnar | [patch] PID namespace design bug, workaround |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Eric Dumazet | Re: Multicast packet loss |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
