私は全くのgitの専門家ではありません。私のローカルのgit repoは悪い方法です。 私は2つの枝マスターとDericheを持っています。ブランチを切り替えることができません
$git diff
diff --git a/modules/ximgproc/src/deriche_filter.cpp b/modules/ximgproc/src/deriche_filter.cpp
index 0e45ffb..58d20ca 100644
--- a/modules/ximgproc/src/deriche_filter.cpp
+++ b/modules/ximgproc/src/deriche_filter.cpp
@@ -1,464 +1,464 @@
-<U+FEFF>#include "precomp.hpp"
-#include "opencv2/highgui.hpp"
......
:そして、gitのdiffの結果がある再び
$ git stash
Saved working directory and index state WIP on Deriche: 64025bc Add files via upload
HEAD is now at 64025bc Add files via upload
その後、
$ git checkout master
error: Your local changes to the following files would be overwritten by checkout:
modules/ximgproc/src/deriche_filter.cpp
Please, commit your changes or stash them before you can switch branches.
Aborting
を私はローカルブランチDeriche枝に今仕事と私はマスター
$ git checkout master
error: Your local changes to the following files would be overwritten by checkout:
modules/ximgproc/src/deriche_filter.cpp Please, commit your changes or stash them before you can switch branches. Aborting
を切り替えたいです
私は試しましたthis成功なし。あなたの助け
を試し 'gitのは何を示してdiff'のでしょうか? –
私は更新の質問がありますあなたの興味のためにありがとう – LBerger