Github Basic – part 1

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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s