Dec 12, 2012


git status view the status of your files in the working directory and staging area

$ git status -s

git diff shows diff of what is staged and what is modified but unstaged

$ git diff

git commit - records a snapshot of the staging area

$ git config

git rm - remove files from the staging area

git log - show commit history of a branch

git push - push your new branches and data to a remote repository

$ git push github master
// git add . (add all files)
// git commit -m "message"
// git push origin master 




No comments:

Post a Comment