You may want to see this recent thread about a similar feature:
http://thread.gmane.org/gmane.comp.version-control.git/275607
--
Ed Avis e...@waniasset.com
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info
drop' commands would no longer cause
problems.
Printing the name of the stash would, for me, largely remove the need for
an --always-drop option to git stash, which is what I at first suggested.
--
Ed Avis e...@waniasset.com
--
To unsubscribe from this list: send the line unsubscribe git
An alternative would be for git stash to always print the name of the stash
it is applying. Then you can drop it afterwards by name and be sure you got
the right one. Printing the name of the stash sounds like a reasonable
bit of chatter to add anyway, do you agree?
--
Ed Avis e
for such an --always-drop flag be accepted?
--
Ed Avis e...@waniasset.com
--
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
be applied to the working tree without conflicts,
or nothing happens.
--
Ed Avis e...@waniasset.com
--
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
harder, as the merge machinery would have to
know how to be atomic.
If git merge-recursive had a --dry-run flag that might take care of it.
--
Ed Avis e...@waniasset.com
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More
that interface to git.)
Is there a way to do a dry run commit that also runs some of the hooks?
--
Ed Avis e...@waniasset.com
--
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
Thank you for looking into this.
--
Ed Avis e...@waniasset.com
--
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
beginning with * should get an extra space prepended
in git rebase --interactive so that they don't get lost.
--
Ed Avis e...@waniasset.com
--
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
suggest that git rebase should add an extra space at the start of existing
log message lines which begin with #. That is a bit of a kludge but it is
better than losing them because they got mixed up with comments.
--
Ed Avis e...@waniasset.com
--
To unsubscribe from this list: send the line
be dangerous.
--
Ed Avis e...@waniasset.com
--
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
I guess 'replace' would be a better word than 'restore' for the current
behaviour.
--
Ed Avis e...@waniasset.com
--
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
' or 'replace' might better convey the idea of what
the command does.
--
Ed Avis e...@waniasset.com
--
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
Torsten Bögershausen tboegi at web.de writes:
Do you think you can write a patch to improve the documentation ?
Here is my attempt, but it is only a starting point.
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt
index d263a56..ee25354 100644
---
, what is the recommended way to do that?
Thanks all for your comments and guidance.
--
Ed Avis e...@waniasset.com
--
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
for the delete option in your IDE or file browser.
--
Ed Avis e...@waniasset.com
--
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
Ed Avis eda at waniasset.com writes:
Julio H. asked how I had learned to run 'git checkout .'.
Sorry it was Torsten B. who asked that. But yes, I think it was just word
of mouth.
--
Ed Avis e...@waniasset.com
--
To unsubscribe from this list: send the line unsubscribe git in
the body
.
To the casual reader, following 'the exception proves the rule', it appears
that local changes are not thrown away except in this case.
--
Ed Avis e...@waniasset.com
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo
of objects to the mix would befuddle them
further. If there is to be a backup made of local changes that get lost,
and I agree it is a good idea, then it should be something stupid and
completely obvious, such as saving the old file as 'foo.before_checkout.1'.
--
Ed Avis e...@waniasset.com
working tree differences be thrown away.
% git --version
git version 2.4.0
--
Ed Avis e...@waniasset.com
--
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
or stash these changes, or delete the files if you
don't want them. Use 'git checkout --force' to proceed, throwing away
local changes.
Aborting
If the checkout operation would only involve creating some files on disk
which aren't currently there, then it would proceed without prompting.
--
Ed Avis e
'. Or is there another more appropriate tool?
Thanks,
--
Ed Avis e...@waniasset.com
--
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
22 matches
Mail list logo