git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git revert with partial commit.
@ 2023-04-02  9:17 Hongyi Zhao
  2023-04-02 14:16 ` Torsten Bögershausen
  2023-04-03 18:29 ` Phillip Susi
  0 siblings, 2 replies; 18+ messages in thread
From: Hongyi Zhao @ 2023-04-02  9:17 UTC (permalink / raw)
  To: Git List

Hi here,

I want to revert a previous commit partially, as follows:

werner@X10DAi:~$ git log |grep -A3 -B5 -m1 texstudio
commit f18fbd1e16a1ca4215621768d17858c036086608
Author: Hongyi Zhao <hongyi.zhao@gmail.com>
Date:   Sun Aug 1 20:01:02 2021 +0800

    deleted:    Public/CTAN/IDE/phonon/compile-install-phonon
    deleted:    Public/CTAN/IDE/texstudio-org/texstudio.git.sh
    modified:   Public/repo/github.com/Dushistov/sdcv.git.sh
    deleted:    Public/repo/github.com/goldendict/stardict-relative/bigdict

More specifically, I just want to revert the following ones:

    deleted:    Public/CTAN/IDE/phonon/compile-install-phonon
    deleted:    Public/CTAN/IDE/texstudio-org/texstudio.git.sh

Is this possible?

Regards,
Zhao
-- 
Assoc. Prof. Hongsheng Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-04-07 17:20 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-02  9:17 git revert with partial commit Hongyi Zhao
2023-04-02 14:16 ` Torsten Bögershausen
2023-04-03 17:07   ` Junio C Hamano
2023-04-04  0:28   ` Hongyi Zhao
2023-04-03 18:29 ` Phillip Susi
2023-04-04  0:20   ` Hongyi Zhao
2023-04-04  0:37     ` Hongyi Zhao
2023-04-04 15:50       ` Hongyi Zhao
2023-04-04 16:19         ` Chris Torek
2023-04-04 17:21           ` Sergey Organov
2023-04-04 18:20             ` Junio C Hamano
2023-04-04 19:40               ` Sergey Organov
2023-04-04 19:48                 ` Junio C Hamano
2023-04-04 21:14                 ` Felipe Contreras
2023-04-05  6:39                   ` Sergey Organov
2023-04-07  0:24                     ` Felipe Contreras
2023-04-07 17:20                       ` Sergey Organov
2023-04-06 15:48     ` Phillip Susi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).