I have made a commit but I am faced with the following error:
On branch master
Changes not staged for commit:
modified: apps/erpnext (modified content)
modified: apps/frappe (modified content)
modified: env/src/pdfkit (modified content, untracked content)
modified: logs/bench.log
modified: logs/schedule.error.log
modified: logs/worker.error.log
no changes added to commit
@WilbrodDreamChaser,
before commit you will need to add the all the files.
use git add --all
to add all files or git add path\to\file
to add individual files. to get the file path you can use the git status
.
once you have added the files then use the git commit
command
Thanks, Makarand
So I have done as proposed, some of the files have been committed but receive the following error:
chris@chriskay:/home/frappe/frappe-bench$ sudo git add --all
chris@chriskay:/home/frappe/frappe-bench$ sudo git commit -m “third Commit”
On branch master
Changes not staged for commit:
modified: apps/erpnext (modified content)
modified: apps/frappe (modified content)
modified: env/src/pdfkit (modified content, untracked content)
no changes added to commit
Run the git commands from the respective app’s folder, in your case, either apps/frappe
or apps/erpnext