Error: Failed to get remote.origin.url (task must either be run in a git repository with a configured origin remote or must be configured with the “repo” option).
at E:HaitamJebariMy ProjectsProject 6RentCarsmainnode_modulesgh-pageslibgit.js:214:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
i try to deploy my project reactjs in my github a i have done every step but still diplay this message
[email protected] deploy
gh-pages -d build
Error: Failed to get remote.origin.url (task must either be run in a git repository with a configured origin remote or must be configured with the “repo” option).
at E:HaitamJebariMy ProjectsProject 6RentCarsmainnode_modulesgh-pageslibgit.js:214:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
PS E:HaitamJebariMy ProjectsProject 6RentCarsmain>
haitam jebari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.