junedomingo / react-native-rename

Rename react-native app with just one command
MIT License
2.63k stars 261 forks source link

This is not a git repository #189

Closed criss02-cs closed 1 year ago

criss02-cs commented 1 year ago

Describe the bug When I try to rename my app, i gave me: This is not a git repository

To Reproduce Steps to reproduce the behavior:

  1. create a new project
  2. install react-native-rename
  3. run npx react-native-rename "NameApp" -b "bundle"

Expected behavior I want to change the name and package of my app, but i can't

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

junedomingo commented 1 year ago

Hi @criss02-cs, please refer to this comment https://github.com/junedomingo/react-native-rename/issues/173#issuecomment-1374331270

criss02-cs commented 1 year ago

But I don't have git on my pc, I use another version control

cas8398 commented 1 year ago

Hi @criss02-cs, please refer to this comment #173 (comment)

because i renamed with cmd i got an error, This is not a git repository. i followed this instruction, i opened github app, created new repo with this directory. then i opened git app, cd to app directory and ran react-native-rename and rename it properly.

i think, good if you add this to readme.md