"Discard" is "Restore"? #285
Unanswered
superDuperCyberTechno
asked this question in
Q&A
Replies: 1 comment
-
Hi! It's an abstraction done in Magit. Basically it undo:s things currently selected, and the command that is being run depends on what is selected. e.g. Discard on a not-checked-in file will do a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as I know, the term "discard" isn't used in Git. Experimenting with Gitu, it seems that the command "Discard" is the same as the newly added "Restore" command (which is shorthand for
git checkout -- <file>
).Would that be correct? Wouldn't it be more intuitive to rename "Discard" to "Restore"?
Beta Was this translation helpful? Give feedback.
All reactions