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:

git data transport commands

read more git push , git pull on gitready.com (the article referred first)


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -