I have a project inside of VS Code
which uses git locally and everything is commited / up to date.
Now I want to push all that to my server so I can update files on the server while working locally.
I've set up my git repo on my server and connected from vs code project terminal, however when I do a push it says that everything is "up to date", and the folder on the server is empty, it contains just the .git
folder.
I want to transfer all my project files to the folder on the server, how do I do that?
Right now I am doing:
git push origin --all
And I get Everything is up to date
I also try doing:
git add.
git commit -m "commit message"
But I get
on branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
How can I send all my local git files to my server git repo?