s been implemented in Git 2.13:
> * "git stash push" takes a pathspec so that the local changes can be
> stashed away only partially.
--
Christian Neukirchenhttp://chneukirchen.org
it was quite some effort to figure out the
actual API that is needed:
http://chneukirchen.org/dotfiles/bin/git-signify
--
Christian Neukirchenhttp://chneukirchen.org
ead from standard input, without
reference to the current repository.
(Note that you can use shortlog ala "git log --pretty=short | git shortlog")
--
Christian Neukirchenhttp://chneukirchen.org
Duy Nguyen writes:
>> At the least I think we should clarify this in the document.
>
> How about something like this? Would it help?
I think it captures the current behavior well.
--
Christian Neukirchenhttp://chneukirchen.org
:-(
>
> Currently there is no way to create commit out of subset of the index,
> e.g. with "git commit :0:"
I played around with creating a new index just for "add -p" and then
committing that one. Seems to have worked...
Perhaps I'll just wrap git-commit myself then.
cu,
--
Christian Neukirchenhttp://chneukirchen.org
, yet other
files are committed. AFAICS, this only happens with -p.
--
Christian Neukirchenhttp://chneukirchen.org
ommit will ignore changes staged in the index, and
instead record the current content of the listed files (which must
already be known to Git);
I'd expect "git commit -p files..." to work like
"git add -p files... && git commit files..."
gs as appropriate.
My main use case for this would be to split a plain addition into
several small additions. Which would be much easier with the
menu-driven approach.
(Mostly I just use magit, but sometimes I want to do this on machines
without emacs set up.)
--
Christian Neukirchenhttp://chneukirchen.org
-- ${1-.} \"$@\"' -"
Very useful, thanks for sharing!
I wonder which other gems are in your .gitconfig, is it public?
--
Christian Neukirchenhttp://chneukirchen.org
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
t-trailers still feels hard to drive by a script...)
--
Christian Neukirchenhttp://chneukirchen.org
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Since Perl 5.22, "A literal '{' should now be escaped in a pattern".
Silence the recently added warning by using \{ instead.
Signed-off-by: Christian Neukirchen
---
git-cvsimport.perl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-cvsimport.perl
Junio C Hamano writes:
> Christian Neukirchen writes:
>
>> Junio C Hamano writes:
>>
>>> * You can help yourself with something like this, I suppose:
>>>
>>>[alias]
>>> git = "!sh -c 'exec git \"$@\"'
, so please do not send a patch to add it as
>a built-in alias ;-).
So I thought I was clever, but this didn't work:
% ln -s /usr/bin/git ~/bin/git-git
% git git
fatal: cannot handle git as a builtin
--
Christian Neukirchenhttp://chneukirchen.org
--
To unsubscribe from this list:
rking tree and the index instead, which would
>be useful to "deploy" by pushing into a repository.
Perhaps this can mention "receive.denyCurrentBranch=updateInstead" so
interested users won't have to grep the tree for 10min to find it. :)
Thanks,
--
Christian Neukir
ontrib/rerere-train.sh.
(Which I learned from
http://git-blame.blogspot.de/2012/04/rebuilding-git-integration-environment.html)
Ciao,
--
Christian Neukirchenhttp://chneukirchen.org
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@v
15 matches
Mail list logo