git push –set-upstream origin master –force
This will upload your local repo to the server no matter what, overwriting if necessary. This should only be done if you’re sure nobody else is publishing to your repo at the moment.
your initial repository must already be published for following steps
. navigate to your project directory in git shell
. git init
. git add *
. git commit -m ‘version-name: Your description’
. git push origin master:refs/heads/master
By force pushing git push –set-upstream origin master –force
help commands on ms-dos
xcopy * c:\xampp\htdocs\p\i1 /E
xcopy source [destination-path] /E
/E is optional
/E means Copies directories and subdirectories, including empty ones.