ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
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 your local machine
3) Create a remote repository on github/bitbucket
Check version of GIT
git --version
Set Config Values
git config ¨Cglobal user.name ¡°yourName¡±
git config ¨Cglobal 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
Get Familiar With Git
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 ?

More Related Content

Get Familiar With Git