What are the differences between "git commit" and "git push"? -
in git tutorial i'm going through, git commit
used store changes you've made.
what git push
used then?
basically git commit
"records changes repository" while git push
"updates remote refs along associated objects". first 1 used in connection local repository, while latter 1 used interact remote repository.
here nice picture oliver steele, explains git model , commands:
read more git push
, git pull
on gitready.com (the article referred first)
Comments
Post a Comment