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

From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Date: 2005-08-23 16:48:26
Hi,

On Mon, 22 Aug 2005, Jeff Carr wrote:

> patch:
> 	git-diff-files -p

"git diff"

> push:
> 	git-send-pack `cat .git/branches/origin`

"git push origin" (or maybe "git push HEAD:origin")

> pull:
> 	git-pull-script `cat .git/branches/origin`
> 	git-read-tree -m HEAD
> 	git-checkout-cache -q -f -u -a

"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"

> add_all:
> 	./git-ls-new-files |xargs -n 1 git-update-cache --add

"git add $(git ls-files --others)"

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Aug 23 16:49:18 2005

This archive was generated by hypermail 2.1.8 : 2005-08-23 16:49:21 EST