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

Re: git-ls-new-files & make patch, pull, etc.

From
JCJeff Carr <jcarr@linuxmachines.com>
Date
Sep 6, 2005, 19:06 UTC
Message-ID
<431DE8A9.7010404@linuxmachines.com>
In-Reply-To
<Pine.LNX.4.63.0508230846180.26600@wgmdd8.biozentrum.uni-wuerzburg.de>
On 08/22/2005 11:48 PM, Johannes Schindelin wrote:
Show 25 quoted lines
> 
>>patch:
> 
> "git diff"
> 
> 
>>push:
> 
> "git push origin" (or maybe "git push HEAD:origin")
> 
> 
>>pull:
> 
> "git pull origin"
> 
> 
>>commit:
>>	vi changelog.txt
>>	GIT_AUTHOR_NAME="$(GIT_AUTHOR_NAME)" \
>>	GIT_AUTHOR_EMAIL="$(GIT_AUTHOR_EMAIL)" \
>>	git-commit-tree `git-write-tree` -p $(HEAD) < changelog.txt > .git/HEAD
>>	rm changelog.txt
> 
> 
> "git commit"

Well, I did that by hand so at the end I could have it append the changes to a changelog file in the archive itself.

Show 5 quoted lines
>>add_all:
>>	./git-ls-new-files |xargs -n 1 git-update-cache --add
> 
> 
> "git add $(git ls-files --others)"

I was using the version of git that was in debian sarge; it was too old and didn't do the commands. I've updated and everything is working now.

Thanks for the help! Jeff

Previous: Johannes Schindelin
Message 8 of 8 in “git-ls-new-files & make patch, pull, etc.”
  1. Jeff CarrAug 23, 2005
  2. Junio C HamanoAug 23, 2005
  3. Jeff CarrSep 6, 2005
  4. Junio C HamanoSep 6, 2005
  5. Jeff CarrSep 8, 2005
  6. Junio C HamanoSep 9, 2005
  7. Johannes SchindelinAug 23, 2005
  8. Jeff CarrSep 6, 2005

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.