先日からブランチの切り替えを行おうとすると
error: Your local changes to the following files would be overwritten by checkout:
.bash_history
environment/.c9/metadata/tab5
Please commit your changes or stash them before you switch branches.
Aborting
このようなエラーが表示されて切り替えることができません。
一応試してみたことが
・上記二つのファイルをaddしてからcommitして切り替える
・.bash_historyをrmで消してからcommitして切り替える
で一番目は上に書いてあることと同じエラーが表示され、二番目に関しては
error: the following file has local modifications:
.bash_history
(use --cached to keep the file, or -f to force removal)
このようなエラーが表示され切り替えることができませんでした。
どなたか解決方法を知っている方がいらっしゃったら教えていただけると助かります。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/03/25 10:08
2018/03/25 11:07
2018/03/25 11:09
2018/03/25 11:09
2018/03/25 12:13
2018/03/25 12:17 編集
2018/03/25 12:35
2018/03/25 12:45
2018/03/25 12:50
2018/03/25 12:54
2018/03/25 13:07
2018/03/25 13:07
2018/03/25 13:41
2018/03/25 13:42