あいつの日誌β

働きながら旅しています。

カレントディレクトリにあるファイルをあるディレクトリにまとめるために追加したディレクトリに git mv したい

expo init で作成した雛形を一つのでディレクトリにまとめた時のメモです

git mv -n ./!(expo) ./expo
git mv ^(expo) ./destination_folder

https://stackoverflow.com/questions/33002612/move-all-files-of-current-directory-into-subdirectory-and-maintain-history