Friday, 15 March 2013

git - How to add the changes made in home directory to my existing repository in github -



git - How to add the changes made in home directory to my existing repository in github -

when first started github added files computer in github in next way:

-git init -git remote add together origin https://github.com/[username]/[reponame].git -git remote set-url origin https://[username]@github.com/[username]/[reponame].git -git force -u origin master

in folder working in computer made changes, added , erased files.

now want update repository in github changes did. tried bit nil changed. commands should follow? thanks

type next command, fist command add together files queue sec command save changes 3rd command force changes repository

git add together *

git commit

git push

git github repository

No comments:

Post a Comment