300x250 AD TOP

Tuesday, July 1, 2014

Tagged under: , ,

Usefull Basic Git Commands


git add <filename>, git add *
Add one or more files to staging (index)

git commit -m "Commit message"
Commit changes to head (but not yet to the remote repository)

git commit -a
Commit any files you've added with git add, and also commit any files you've changed since then

git push --all origin
Push all branches to your remote repository

git pull
Fetch and merge changes on the remote server to your working directory

git merge 
To merge a different branch into your active branch

More Details: Basic Git commands

0 comments: