do not checkout branch when resetting a file

pull/314/merge
nightwing 2016-06-20 00:56:28 +04:00
rodzic 5c2bed1c62
commit 9354fefd0c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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")