emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: src/Makefile unhelpful


From: Andreas Schwab
Subject: Re: src/Makefile unhelpful
Date: Sun, 18 Sep 2022 18:59:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

On Sep 18 2022, Gregory Heytings wrote:

> No, git checkout doesn't remove changes to tracked files.

Yes, it does.  git checkout HEAD <pathspec> overwrites the matching
files with contents from the HEAD commit.  In that operation mode it is
similar to git reset --hard.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]