[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC mode and git
From: |
Stefan Monnier |
Subject: |
Re: VC mode and git |
Date: |
Sat, 28 Mar 2015 15:52:07 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> I have not yet seen a definitive answer about whether git reset is a
> reliable fix for that.
I think it is, but it should be "git reset --soft HEAD^", which AFAIK is
the way to spell "uncommit" in Git (where "uncommit" to me means to
do just the reverse of commit, i.e. just like commit it shouldn't touch
the files's contents, only the metadata).
> Can the repository itself have a file that directs git to run a shell
> command after pushing?
Depends what you mean by "repository". Your local Git clone is
a repository. So the hooks discussed here would indeed be placed in
your repository. But I don't think there's a way to change Emacs's
git.sv.gnu.org repository such that when you clone it, you automatically
get such hooks.
Stefan
- Re: VC mode and git, (continued)
- Re: VC mode and git, Ivan Shmakov, 2015/03/28
- Re: VC mode and git, Simon Leinen, 2015/03/28
- Re: VC mode and git, Steinar Bang, 2015/03/29
- Re: VC mode and git, Allen S. Rout, 2015/03/27
- Re: VC mode and git, Thien-Thi Nguyen, 2015/03/28
- Re: VC mode and git, Richard Stallman, 2015/03/28
- Re: VC mode and git, Richard Stallman, 2015/03/28
- Re: VC mode and git,
Stefan Monnier <=
- Re: VC mode and git, Richard Stallman, 2015/03/29
- Re: VC mode and git, Mike Gerwitz, 2015/03/30
- Re: VC mode and git, Mike Gerwitz, 2015/03/30
- Re: VC mode and git, Eli Zaretskii, 2015/03/30
- Re: VC mode and git, Stefan Monnier, 2015/03/30
- Re: VC mode and git, Eli Zaretskii, 2015/03/30
- Re: VC mode and git, Stefan Monnier, 2015/03/30
- Re: VC mode and git, Eli Zaretskii, 2015/03/31
- Re: VC mode and git, Stephen J. Turnbull, 2015/03/30
- Re: VC mode and git, Eli Zaretskii, 2015/03/30