git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why can't git open empty branches ?
@ 2012-04-11 10:35 Hadmut Danisch
  2012-04-11 10:59 ` Jonathan Nieder
  0 siblings, 1 reply; 8+ messages in thread
From: Hadmut Danisch @ 2012-04-11 10:35 UTC (permalink / raw)
  To: git

Hi,

when creating a new branch in git, it is by default filled with the
contents of the current branch.

Sometimes a new but empty branch is needed. There are plenty of
instructions in the web to achieve this with „dirty tricks”, i.e. fiddle
around with git's internals. Which is poor design.



Why doesn't git's branch command support opening empty branches in a
clean an natural way?



regards
Hadmut

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-11 14:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-11 10:35 Why can't git open empty branches ? Hadmut Danisch
2012-04-11 10:59 ` Jonathan Nieder
2012-04-11 11:06   ` Hadmut Danisch
2012-04-11 11:21     ` Matthieu Moy
2012-04-11 11:47       ` Hadmut Danisch
2012-04-11 12:19         ` Jonathan Nieder
2012-04-11 12:19         ` Matthieu Moy
2012-04-11 14:16         ` Holger Hellmuth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).