mars/heroku-cra-node

Switching from create react app buildpack. Problem on step 2.

rokit opened this issue · 2 comments

rokit commented

I am following the steps to switch from create-react-app-buildpack. When I get to step 2 and run this:
git mv [!react-ui]* react-ui/
instead of seeing:
fatal: Not a git repository
I see this:
fatal: bad source, source=[!react-ui]*, destination=react-ui/[!react-ui]*

Edit:
Maybe this is the problem?
https://superuser.com/questions/1050326/git-mv-returns-bad-source-in-powershell

If that is the case, is there any harm in moving the files manually? I'm not that knowledgeable of git and what can break it.

mars commented

You can definitely move the files manually. Really it's simpler than that command looks:

  1. create a react-ui directory
  2. copy everything into that directory except the .git directory
rokit commented

Cool, thanks.