Skip to main content

Posts

Showing posts from October, 2013

Git Cheatsheet [Commonly used commands]

In this post I have made a cheat-sheet of commonly used or most frequently used git commands .Just to make you feel about  git commands I referred this post  first rather than the post about setting git.I would be covering that in my next post.So you don't have have to worry.It will be a step by step procedure. Please feel free to comment if you have any doubt or want me to add something else.I would be happy to help you. CHEAT-SHEET Cloning a repository : git cone <ssh-path of the repository> Creating a branch : git branch <branch name> // This will make a new branch that will have all contents and commits of the current branch you are in right now. Changing branches (Moving form one branch to another): git checkout <branch name> Deleting a branch: First checkout to some other branch using the previous command.Then use git branch -d <branch name to be deleted> Showing the list of files being tracked (Both staged and unstage

Introduction to GIT and GITHUB

In this series I would be covering the basic operation of  GIT so that even a new comer can easily feel comfortable with the terminologies and usage of git system. The first post is just a brief introduction that will help you clarify the questions raising about this new thing. What is a Git? Git is simply a software that helps you manage your source code.That means each change that you make to a source code is recorded in its history.So it can also be called as Source Code managemnt system. To use git for a particular project all you need is to initialize the current project folder so that it will be tacked by the git system.I will show it in further documents about how to do it. Every Git working directory(or you can say your project folder) is a full-fledged repository with complete history and full version tracking capabilities, not dependent on network access or a central server. What is GitHub ? In layman terms you can think of