git clone git-URL
clone the remote git repository
git push
put local branches commit to remote repository
git pull
if the working copy tracked remote repository, the operate will sync with it and merge modify
git status
get the status of repository
git commit -m
commit the staged changes to repository. -m "message"
git add .
add the untracked files ,dirs to tracked. Add the changes to staged status to commit next.
git fetch
fetch the data which not exist in local
git log
get the log message. -n will display n terms.
git config user.email "[email protected]"
git config user.name "name"
configure the current repository options
git remote
list remote branches
.gitignore
add the mask pattern to the file
if local file had changed, you want push, so the procedure
git add
git commit
git pull
git checkout branches
change to another branch
ssh git info
display all the project which you have