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

CraftCamp for Students - Introduction to git
CraftCamp for Students - Introduction to gitCraftCamp for Students - Introduction to git
CraftCamp for Students - Introduction to gitcraftworkz
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with GitLuigi De Russis
 
Git Introduction
Git IntroductionGit Introduction
Git IntroductionGareth Hall
 
Introduction to GIT versioning
Introduction to GIT versioningIntroduction to GIT versioning
Introduction to GIT versioningStackit Community
 
Git and fundamentals
Git and fundamentalsGit and fundamentals
Git and fundamentalsNaincy Gupta
 
Git for a newbie
Git for a newbieGit for a newbie
Git for a newbieAnuj Sharma
 
Git learn from scratch
Git learn from scratchGit learn from scratch
Git learn from scratchMir Arif Hasan
 
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 GitRasan Samarasinghe
 
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 GitDmitry Sheiko
 
Learn Git Fundamentals
Learn Git FundamentalsLearn Git Fundamentals
Learn Git FundamentalsJatin Sharma
 
Version control system
Version control systemVersion control system
Version control systemAndrew Liu
 
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 SessionAnwarul Islam
 
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 exampleGaurav Kumar Garg
 

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

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 Quadrant Communications
 
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 GoogleThu Trang Phạm
 
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 MarketingOmnitrans
 
Lingerie shopping improved
Lingerie shopping improvedLingerie shopping improved
Lingerie shopping improvedalicemutch96
 
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 LawLarry Zabriansky
 
interpolasi
interpolasi interpolasi
interpolasi apri nata
 
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 CRMQuadrant Communications
 
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
 
Ms Nadia zia & Ayesha Khan
Ms Nadia zia & Ayesha KhanMs Nadia zia & Ayesha Khan
Ms Nadia zia & Ayesha Khannadiazia17
 
Pelatihan Militer dalam Perspektif Syari’ah
Pelatihan Militer dalam Perspektif Syari’ahPelatihan Militer dalam Perspektif Syari’ah
Pelatihan Militer dalam Perspektif Syari’ahalhazimy
 
Task one reserch company
Task one reserch companyTask one reserch company
Task one reserch companyalicemutch96
 

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

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

Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Recently uploaded (20)

Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

git fast & minimal