Re: git-ls-new-files & make patch, pull, etc.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 23, 2005, 06:48 UTC
- Message-ID
- <Pine.LNX.4.63.0508230846180.26600@wgmdd8.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <430A84D1.2050206@linuxmachines.com>
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"
Show 6 quoted lines
> 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