git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How should I handle binary file with GIT

From
MFmoreau francis <francis_moreau2000@yahoo.fr>
Date
Apr 5, 2006, 07:30 UTC
Message-ID
<20060405073022.13054.qmail@web25806.mail.ukl.yahoo.com>
Hi,

I'd like to use git to keep track of a documentation repository. This repo is mainly composed by text file and the documenation is generated by asciidoc. People who are using my repo and updating some docs which may include new images can't send their whole work through patches.

For now they only send me the text updates through patch and attach new images with the patch email. Then I do:

        $ git am < text_only_patch
        $ git reset --soft HEAD^
        $ git add <new images>
        $ git commit -a -C ORIG_HEAD
Now my question: is it the best way to achieve this process ?
thanks for you answers
Francis 
	
	
		
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
Next: Junio C Hamano
Message 1 of 18 in “How should I handle binary file with GIT”
  1. moreau francisApr 5, 2006
  2. Junio C HamanoApr 5, 2006
  3. moreau francisApr 5, 2006
  4. Nicolas PitreApr 5, 2006
  5. moreau francisApr 5, 2006
  6. Nicolas PitreApr 5, 2006
  7. moreau francisApr 5, 2006
  8. Marco RoelandApr 5, 2006
  9. Jakub NarebskiApr 5, 2006
  10. Nicolas PitreApr 5, 2006
  11. Randal L. SchwartzApr 5, 2006
  12. Shawn PearceApr 5, 2006
  13. Nicolas PitreApr 5, 2006
  14. Nicolas PitreApr 5, 2006
  15. Junio C HamanoApr 5, 2006
  16. Randal L. SchwartzApr 5, 2006
  17. Nicolas PitreApr 5, 2006
  18. Junio C HamanoApr 5, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.