Adding to Git


Git a very simple and easy use CVS. Its power comes when you use command line. Learning command line is also the easiest.

Creating Repository

git init                        //initializing a repo

git add .                    // Adding all the contents to staging area

git commit -m ‘Initial stage of development’             //Commiting changes

Create a new remote repository and now include the repo name in below command

git remote add origin ‘gits Repo -> copy it from your Git’

git push -u origin master                   //Pushing to remote repository

About pacesettergraam

A good and realistic person

Posted on September 27, 2013, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: