Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこれを試していませんが、お勧めします:
git mv Dir\file Dir\x-file git mv Dir\x-file dir\file
理論的にはdir\file、リポジトリと作業ツリーの両方で終了します。
dir\file