Selectively revert or checkout changes to a file in Git?

后端 未结 4 1173
情歌与酒
情歌与酒 2021-01-30 06:09

Is there a command that allows you to partially undo the changes to a file (or files) in the working directory?

Suppose you have edited a file a lot but you realize that

4条回答
提交回复
热议问题