somehow I just cannot get git to work on the command line. I can push just fine, but when I try to commit -a
it’ll either give me a message like this:
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
...
or it’ll say:
On branch master
Changes not staged for commit:
...
and it never actually commits, I have to use vscode’s version control gui to commit. Anyone have any solutions?
You need to STAGE YOUR COMMITS.
If all of them are related, then make one big stage of all your changes.
don’t use -a and remember to actually stage things
git add file to add the change you’ve done to it e.g. permission change, delete, date, content, etc