I want to create a custom script in my package.json that will perform the following actions:
- git init and git add .
- prompt the user for a commit message from the terminal, if the user enters an input, that input will be used as a commit message and the commit will be executed. If the user presses enter, the a default commit message will be used to execute the commit
- pull from the remote origin after committing then start the server.
The essence is to automate a process of pulling changes regularly from the remote before making new changes when working in development mode