mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
do not checkout branch when resetting a file
This commit is contained in:
parent
5c2bed1c62
commit
9354fefd0c
@ -107,7 +107,7 @@ define(function(require, exports, module) {
|
||||
else if (e.value === "gitadd")
|
||||
lastLink.editor.onPaste("git add " + lastLink.value + "\n");
|
||||
else if (e.value === "gitcheckout")
|
||||
lastLink.editor.onPaste("git checkout " + lastLink.value);
|
||||
lastLink.editor.onPaste("git checkout -- " + lastLink.value);
|
||||
else if (e.value === "gitdiff")
|
||||
lastLink.editor.onPaste("git diff " + lastLink.value + "\n");
|
||||
else if (e.value === "gitrm")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user