On 04/17/2007 05:11 PM, Alex Riesen wrote:
ach, right. Dangerous: it can change the ref HEAD points to. Very sorry! Better just: $ rm .git/HEAD && git symbolic-ref HEAD "refs/heads/<branch-name>"
Thanks.
In the end, you just have git-checkout minus git-checkout-index. Maybe a "git-checkout -n" can be useful. Even though I can't imagine what for.
Thought about that as well, to keep with clone, but giving "checkout" an option to not checkout seems somewhat odd.
"git branch -s" for "not only create but Set current to it as well" maybe? Rene. - 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