Wednesday, December 12, 2012

Basic Git Commands

Creating a local git repository

git init

Adding your changes to the local git repository

git add .

git commit -m"initial import"

Tagging your changes to the remote server

git tag -a v1.1 -m "Version 1.1 is waiting for review"

Commiting changes to the remote server

git push origin master

Commiting tags to the remote server

git push --tags


No comments:

LinkWithin

Related Posts Plugin for WordPress, Blogger...