git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Raw commands to add object to existing tree
@ 2009-08-21 22:31 D Sundstrom
  2009-08-21 22:39 ` Avery Pennarun
  0 siblings, 1 reply; 4+ messages in thread
From: D Sundstrom @ 2009-08-21 22:31 UTC (permalink / raw)
  To: git

Both the community git manual:
http://book.git-scm.com/7_raw_git.html

and Pro Git book:
http://progit.org/book/ch9-2.html

walk you though low level details of creating objects and trees in git, and
then committing these new trees.

However, they do not show you how to add and commit into existing trees.

Speaking in terms of files, I have a web application that needs to replace
a file in a known directory in a known branch of a bare repository.  I know the
SHA1s of the directory tree and file.  I want to commit directly into a bare
repository to avoid having to manage working directories for different
branches from the web application.

Thanks!
David

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

end of thread, other threads:[~2009-08-21 22:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21 22:31 Raw commands to add object to existing tree D Sundstrom
2009-08-21 22:39 ` Avery Pennarun
2009-08-21 22:49   ` Linus Torvalds
2009-08-21 22:56     ` Avery Pennarun

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