How To Work on GitHub


How to upload your resource (by Git Bash)

Move to the repo directory just created in local (cloned):
gitbash-clone-after
C:\Users\nobukimi\Documents\GitHub\sample2015

****** NOTE: Use forward slash “/” to change directory ******

Copy the project, for example, “NS2015V07” under cloned local directory: C:\Users\nobukimi\Documents\GitHub\sample2015

To add the files to repository (local), type following:
gitbash-add
git add .

To commit, type following:
gitbash-commit
git commit -m “try to upload the project”

****** NOTE: Copy and paste will not work!! (Need to type) ******

After commit and to upload the website type this command:
gitbash-commit-and-upload.phg
git push origin master
(and user name account-name, and password ******)
Done!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.