Thursday, March 6, 2014

Working on Git

GIT:
Git is a distributed revision control & source code management system. It was initially designed and developed by Linus Torvalds in 2005.

Usefull Commands for GIT:

git branch : For checking the branch name in repository.

git add file_name: For adding file

git commit -m "First Commit": For set the commit

git push origin master: For push the file in master branch

git init: Initializes a git repository

git clone: Makes a Git repository copy from a remote source

git status: Shows you the status of files

git checkout: Checks out a different branch

git merge: Merges one or more branches into your current branch

 git fetch: Fetches all the objects from the remote repository

git pull: Fetches the files from the remote repository

git remote: Shows all the remote versions of your repository


No comments:

Post a Comment