Github Basic – part 1

http://gitref.org/
http://git-scm.com/book/
http://git-scm.com/docs/
https://www.kernel.org/pub/software/scm/git/docs/everyday.html

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.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s