SlideShare a Scribd company logo
1 of 15
GitGit
Paruthi{.exe}
Paruthi{.exe}
InfoInfo
If u r here then u might
If u r here then u might
already know “what is
already know “what is
GIT” am I right ?
GIT” am I right ?
This is a fast git tutorial
This is a fast git tutorial,,
no deep stuffs...
no deep stuffs...
SowhatisGIT
SowhatisGIT
 is a distributed revision
control and source code
management (SCM)
system with an emphasis
on speed.
Time to move to the
fastest distribute source
control.
Whomadethis
Whomadethis
 Initially designed and
developed by 
Linus Torvalds for Linux
kernel development
Current License : GPLv2
: GPLv2 
open source license
Features
Features
Branching and Merging
Branching and Merging
Small and Fast
Small and FastDistributed
DistributedData Assurance
Data AssuranceStaging Area
Staging AreaFree and Open Source
Free and Open Source
Createanew
Createanewrepository
repository
[ git init ] – command
[ git init ] – command
will create a new
will create a new
repository(working
repository(working
copy)
copy)
[ git init --bare ] :
[ git init --bare ] :
command will create the
command will create the
server side of the
server side of the
repository (this is where
repository (this is where
we save our changes)
we save our changes)
gitglobal
gitglobalconfiguration
configuration
git config --global
user.name “user name"
git config --global
user.email“name@mail.com"
git config –global
color.ui "auto“
Clone/Checkout
Clone/Checkout
fromarepository
fromarepository
Local :-
Local :-
[ git clone
[ git clone/path_of_src_repository
/path_of_src_repository
] : command creates a
] : command creates a
working copy of a local
working copy of a local
repository
repository
Clone/Checkout
Clone/Checkout
fromarepository
fromarepository
Server :-
Server :-[ git clone
[ git cloneusername@host:/path_o
username@host:/path_o
f_repository ] : command
f_repository ] : command
creates a working copy
creates a working copy
of a repository from
of a repository from
server
server
Addfilestogit
Addfilestogit
[git add filename ]:
[git add filename ]:
command adds the
command adds the
filename
filename
[git add *] : command
[git add *] : command
adds all the files in the
adds all the files in the
folder
folder
[git add *.py] :
[git add *.py] :
command adds all the
command adds all the
files with “.py” extention
files with “.py” extention
in the folder
in the folder
Getcurrentstatus
Getcurrentstatus
[git status] : command
[git status] : command
gives the current status
gives the current status
of files. Added, staged,
of files. Added, staged,
untracked, modified
untracked, modified
files…
files…
Committhe
Committhechanges
changes
It is time to save the
It is time to save the
changes to the git
changes to the git
[git commit –m
[git commit –m“comments about the
“comments about the
current code changes”] :
current code changes”] :
command will save the
command will save the
changes.
changes.
Pushtotheserver
Pushtotheserver
[git push <remote
[git push <remote
name> <branch
name> <branch
name>] : command will
name>] : command will
push the code in the
push the code in the
local folder to the
local folder to the
server.
server.
Pullthechanges
Pullthechanges
[[git pull <remotename>
<branchname>] :] :
command will update
command will update
the local code and
the local code and
merge with the new
merge with the new
code from the server.
code from the server.
Sourcecodehostingfor.git
 Following Web sites provide
repositories[info from wiki
info from wiki]:
 GitHub ; Assembla ;
Bitbucket CloudForge ;
CollabNet ; Gitorious ;
GNU Savannah ;
Google Code ; JavaForge;
SourceForge ; BerliOS ;
CodePlex Choose based on your
Choose based on your
requirement.
requirement. I have tried only GitHub,
I have tried only GitHub,
Bitbucket and assembla all
Bitbucket and assembla all
are good.
are good.

More Related Content

What's hot

Git Introduction
Git IntroductionGit Introduction
Git Introduction
Gareth Hall
 

What's hot (20)

CraftCamp for Students - Introduction to git
CraftCamp for Students - Introduction to gitCraftCamp for Students - Introduction to git
CraftCamp for Students - Introduction to git
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
 
Introduction to Sumatra
Introduction to SumatraIntroduction to Sumatra
Introduction to Sumatra
 
Git 101
Git 101Git 101
Git 101
 
Git Introduction
Git IntroductionGit Introduction
Git Introduction
 
Introduction to GIT versioning
Introduction to GIT versioningIntroduction to GIT versioning
Introduction to GIT versioning
 
Git and fundamentals
Git and fundamentalsGit and fundamentals
Git and fundamentals
 
Git introduction
Git introductionGit introduction
Git introduction
 
Git for a newbie
Git for a newbieGit for a newbie
Git for a newbie
 
Git tutorial
Git tutorialGit tutorial
Git tutorial
 
Git learn from scratch
Git learn from scratchGit learn from scratch
Git learn from scratch
 
Git 101
Git 101Git 101
Git 101
 
Knolx master-slides
Knolx master-slidesKnolx master-slides
Knolx master-slides
 
Advanced Web Development in PHP - Code Versioning and Branching with Git
Advanced Web Development in PHP - Code Versioning and Branching with GitAdvanced Web Development in PHP - Code Versioning and Branching with Git
Advanced Web Development in PHP - Code Versioning and Branching with Git
 
A Quick Start - Version Control with Git
A Quick Start - Version Control with GitA Quick Start - Version Control with Git
A Quick Start - Version Control with Git
 
Learn Git Fundamentals
Learn Git FundamentalsLearn Git Fundamentals
Learn Git Fundamentals
 
Version control system
Version control systemVersion control system
Version control system
 
Introduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training SessionIntroduction to Gitlab | Gitlab 101 | Training Session
Introduction to Gitlab | Gitlab 101 | Training Session
 
GIT
GITGIT
GIT
 
Version Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an exampleVersion Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an example
 

Viewers also liked

Lingerie shopping improved
Lingerie shopping improvedLingerie shopping improved
Lingerie shopping improved
alicemutch96
 
The Uncertainty in Jewich and Roman Law
The Uncertainty in Jewich and Roman LawThe Uncertainty in Jewich and Roman Law
The Uncertainty in Jewich and Roman Law
Larry Zabriansky
 
7943 pre board ii for class xii d (1)
7943 pre  board ii for class xii d (1)7943 pre  board ii for class xii d (1)
7943 pre board ii for class xii d (1)
Abinash Rath
 
Pelatihan Militer dalam Perspektif Syari’ah
Pelatihan Militer dalam Perspektif Syari’ahPelatihan Militer dalam Perspektif Syari’ah
Pelatihan Militer dalam Perspektif Syari’ah
alhazimy
 
Task one reserch company
Task one reserch companyTask one reserch company
Task one reserch company
alicemutch96
 

Viewers also liked (15)

Lippens Grondwerken werkt efficiënter en professioneler met Dynamics NAV
Lippens Grondwerken werkt efficiënter en professioneler met Dynamics NAV Lippens Grondwerken werkt efficiënter en professioneler met Dynamics NAV
Lippens Grondwerken werkt efficiënter en professioneler met Dynamics NAV
 
Khảo sát hành vi người tiêu dùng VN năm 2014 của Google
Khảo sát hành vi người tiêu dùng VN năm 2014 của GoogleKhảo sát hành vi người tiêu dùng VN năm 2014 của Google
Khảo sát hành vi người tiêu dùng VN năm 2014 của Google
 
Blogging As The Backbone of Social Marketing
Blogging As The Backbone of Social MarketingBlogging As The Backbone of Social Marketing
Blogging As The Backbone of Social Marketing
 
Lingerie shopping improved
Lingerie shopping improvedLingerie shopping improved
Lingerie shopping improved
 
Center for Design Innovation
Center for Design InnovationCenter for Design Innovation
Center for Design Innovation
 
The Uncertainty in Jewich and Roman Law
The Uncertainty in Jewich and Roman LawThe Uncertainty in Jewich and Roman Law
The Uncertainty in Jewich and Roman Law
 
Informes quimestrales
Informes quimestralesInformes quimestrales
Informes quimestrales
 
interpolasi
interpolasi interpolasi
interpolasi
 
Dafra Pharma verbetert marktinzicht en klantenrelaties dankzij Microsoft CRM
Dafra Pharma verbetert marktinzicht en klantenrelaties dankzij Microsoft CRMDafra Pharma verbetert marktinzicht en klantenrelaties dankzij Microsoft CRM
Dafra Pharma verbetert marktinzicht en klantenrelaties dankzij Microsoft CRM
 
7943 pre board ii for class xii d (1)
7943 pre  board ii for class xii d (1)7943 pre  board ii for class xii d (1)
7943 pre board ii for class xii d (1)
 
Ms Nadia zia & Ayesha Khan
Ms Nadia zia & Ayesha KhanMs Nadia zia & Ayesha Khan
Ms Nadia zia & Ayesha Khan
 
Pelatihan Militer dalam Perspektif Syari’ah
Pelatihan Militer dalam Perspektif Syari’ahPelatihan Militer dalam Perspektif Syari’ah
Pelatihan Militer dalam Perspektif Syari’ah
 
Task one reserch company
Task one reserch companyTask one reserch company
Task one reserch company
 
matematika itu mudah
matematika itu mudahmatematika itu mudah
matematika itu mudah
 
Rules invest
Rules investRules invest
Rules invest
 

Similar to git fast & minimal

Source Code Management with Git
Source Code Management with GitSource Code Management with Git
Source Code Management with Git
Things Lab
 

Similar to git fast & minimal (20)

Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
 
git and github-1.pptx
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
 
Intro to git (UT biocomputing 2015)
Intro to git (UT biocomputing 2015)Intro to git (UT biocomputing 2015)
Intro to git (UT biocomputing 2015)
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
Introduction git
Introduction gitIntroduction git
Introduction git
 
1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx1-Intro to VC & GIT PDF.pptx
1-Intro to VC & GIT PDF.pptx
 
Github By Nyros Developer
Github By Nyros DeveloperGithub By Nyros Developer
Github By Nyros Developer
 
GIT By Sivakrishna
GIT By SivakrishnaGIT By Sivakrishna
GIT By Sivakrishna
 
Git hub
Git hubGit hub
Git hub
 
Git learning
Git learningGit learning
Git learning
 
Git training (basic)
Git training (basic)Git training (basic)
Git training (basic)
 
Beginner's guide to git and github
Beginner's guide to git and github Beginner's guide to git and github
Beginner's guide to git and github
 
Learning git
Learning gitLearning git
Learning git
 
Source Code Management with Git
Source Code Management with GitSource Code Management with Git
Source Code Management with Git
 
Git basic and workflow
Git basic and workflowGit basic and workflow
Git basic and workflow
 
Git 01
Git 01Git 01
Git 01
 
GIT from n00b
GIT from n00bGIT from n00b
GIT from n00b
 
Git and github
Git and githubGit and github
Git and github
 
Git
GitGit
Git
 
Git Mastery
Git MasteryGit Mastery
Git Mastery
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

git fast & minimal