Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
A brief introduction
Presented by:
Nigam Goyal & Gorisha Mehrotra
Get familiar with GIT
How many of you are using GIT?
WHAT IS GIT?
Getting started with GIT
1) Install git:
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
2)Initialize git in...
Check version of GIT
git --version
Set Config Values
git config –global user.name “yourName”
git config –global user.email “yourEmail”
git config --list
Need Help?
● git help <verb>
● git <verb> help
Initialize git in your local machine
git init
Check Current Status
git status
Add Ignore File
Create file with name .gitignore
Add Files To Staging Area
git add .
git status
Remove Files From
Staging Area
git reset
git status
Our First Commit
● git add .
● git commit -m “initial commit”
● git status
● git log
Add remote Url
● git remote add origin url
● git remote -v
Git Push
● git push origin master
Git Pull
● git pull origin master
View Difference
● git diff
Thank You
● Any Question ?
Get Familiar With Git
Upcoming SlideShare
Loading in …5
×

Get Familiar With Git

208 views

Published on

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Get Familiar With Git

  1. 1. A brief introduction Presented by: Nigam Goyal & Gorisha Mehrotra Get familiar with GIT
  2. 2. How many of you are using GIT?
  3. 3. WHAT IS GIT?
  4. 4. Getting started with GIT 1) Install git: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git 2)Initialize git in your local machine 3) Create a remote repository on github/bitbucket
  5. 5. Check version of GIT git --version
  6. 6. Set Config Values git config –global user.name “yourName” git config –global user.email “yourEmail” git config --list
  7. 7. Need Help? ● git help <verb> ● git <verb> help
  8. 8. Initialize git in your local machine git init
  9. 9. Check Current Status git status
  10. 10. Add Ignore File Create file with name .gitignore
  11. 11. Add Files To Staging Area git add . git status
  12. 12. Remove Files From Staging Area git reset git status
  13. 13. Our First Commit ● git add . ● git commit -m “initial commit” ● git status ● git log
  14. 14. Add remote Url ● git remote add origin url ● git remote -v
  15. 15. Git Push ● git push origin master
  16. 16. Git Pull ● git pull origin master
  17. 17. View Difference ● git diff
  18. 18. Thank You ● Any Question ?

×