git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Adding a new file to all git branches
@ 2009-03-24  3:41 Aneesh Bhasin
  2009-03-24  6:31 ` Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Bhasin @ 2009-03-24  3:41 UTC (permalink / raw)
  To: git

Hi,

I was wondering if it is possible to add a file to all the branches in
a repository without individually checking out each branch ?

A possible use-case for such a scenario is say I have a git repository
with various branches related to different features, versions or
bug-fixes and I want to be able to add a README file which contains
instructions/information common to all of those branches as of now
(but may diverge in future). So, do I have to checkout each branch
individually to add the same README file to all of them or is there a
direct/indirect workaround ?

Thanks for your help..

Regards,
Aneesh

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

end of thread, other threads:[~2009-03-24  6:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24  3:41 Adding a new file to all git branches Aneesh Bhasin
2009-03-24  6:31 ` Jeff King

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).