SlideShare a Scribd company logo
Repository Control System using Git
Prepared By
Md. Mujahid Islam
1
What is version control ?
Version control is a system that records changes to a file or set of files over time so that you can recall specific
versions later.
2
Local Version Control Systems
Many people’s version-control method of choice is to copy files into another directory (perhaps a time-stamped
directory, if they’re clever).
This approach is very common because it is so simple, but it is also incredibly error prone.
3
Local Version Control Systems
4
Centralized Version Control Systems
❖These systems, such as CVS, Subversion, and Perforce, have a single server that contains all the versioned files,
and a number of clients that check out files from that central place.
❖This setup offers many advantages, especially over local VCSs. For example, everyone knows to a certain degree
what everyone else on the project is doing.
❖Local VCS systems suffer from this same problem – whenever you have the entire history of the project in a
single place, you risk losing everything.
5
Centralized Version Control Systems
6
Distributed Version Control Systems
❖This is where Distributed Version Control Systems (DVCSs) step in. In a DVCS (such as Git, Mercurial, Bazaar or
Darcs), clients don’t just check out the latest snapshot of the files: they fully mirror the repository. Thus if any
server dies, and these systems were collaborating via it, any of the client repositories can be copied back up to
the server to restore it.
❖if any server dies, and these systems were collaborating via it, any of the client repositories can be copied back
up to the server to restore it. Every clone is really a full backup of all the data.
7
Distributed Version Control Systems
8
Repository
❖ Generically refers to a central place where data is stored and maintained.
❖A repository can be a place where multiple databases or files are located for distribution over a network, or a
repository can be a location that is directly accessible to the user without having to travel across a network.
❖Example : Git, Mercurial, Bazaar or Darcs
9
About Git
❖Git is a version control system that is widely used for software development and other version control tasks.
❖It is a distributed revision control system with an emphasis on speed, data integrity, and support for distributed,
non-linear workflows.
10
A Short History of Git
❖In 2002, the Linux kernel project began using a proprietary DVCS called BitKeeper.
❖In 2005, the relationship between the community that developed the Linux kernel and the commercial company
that developed BitKeeper broke down, and the tool’s free-of-charge status was revoked.
❖Since its birth in 2005, Git has evolved and matured to be easy to use and yet retain these initial qualities.
11
Working Mechanism in Git
The three main sections of a Git project: the Git directory, the working directory, and the staging area.
12
How to use Git
❖Almost Every IDE support git plugin . Installing this plugin we perform git operation through UI console their
Like Android Studio, Eclipse, Netbeans etc.
❖Using Command we can perform following operation . In this slide we perform git operation using Git console .
13
Git Topics
❖Git Basic Command
❖Git Branching & Branching Command
❖Git Reset & Reset Command
❖Git Stash Command
❖Git Server
❖Git Communication Command with Remote Server
❖Git Alias Command
14
Git Basic Command
Command Description
git init Initialize git
git status Show git status
git config --global user.name “mbiplobe” Set user name globally
git config user.name “mbiplobe” Set user name only for current project
git config user.email “mbiplobe@gmail.com” Set email address only for current project
git config --global user.email “mbiplobe@gmail.com” Set email address globally
15
Git Basic Command
Command Description
git config user.name Show your use name
git config user.email Show your email address
git config add *.pdf Add pdf file in stage directory
git config add -A (A=All)
Add all file in stage directory
git commit -m “message” (M=Message)
Add message & file add into committed Directory
git commit -am “message” (a=All,m=Message)
Add message & all file add into committed Directory 16
Git Basic Command
Command Description
git config user.name Show your use name
git config user.email Show your email address
git config add *.pdf Add pdf file in stage directory
git config add -A (A=All)
Add all file in stage directory
git commit -m “message” (M=Message)
Add message & file add into committed Directory
git commit -am “message” (a=All,m=Message)
Add message & all file add into committed Directory 17
Giti Basic Command
Command Description
git checkout 43e33d3 Move to 43e33d3 version
git show 43e33d3 Show every history 43e33d3
git checkout 43e33d3 text.txt Move Current version to text.txt of this 43e33d3
version
git commit log Show all log history
git checkout master -f Move text.txt of 43e33d3 version
To master
18
Git Branching & Command
19
Git Branching & Command
Command Description
git branch Show all created branch
git branch mbiplobe Create a branch which name is mbiplobe
Git checkout mbiplobe Checkout current branch to master branch
20
Git Reset & Reset Command
❖Git Reset option help us remove wrong commit or Edit or modify wrong commit .
❖There are two type of Reset available in git which are given below :
1. Git Soft Reset : After performing this operation previous data or file will not remove from git , just
remote wrong commit only .
2. Git Hard Reset :After performing this operation all file or data & commit will be removed .
21
Git Reset & Reset Command
Command Description
git reset --soft 1a2f1c9 Reset commit only & data will not be removed or deleted
git diff HEAD Show different Accidental Commit
git reset --hard 1a2f1c9 Reset commit & data will be removed or deleted
git reset reflog Show all work what we done
git reset HEAD @{8} Back reset version 8
git reset -hard
22
Git Stash Command
Command Description
git stash Create Stash List
git stash list Show all list item
git stash clear Clear all stash list
23
Git Server
❖Git Server is a place where we host our local git repository . There are two type of git Server available which are
given below :
1. Local Git Server : Bonobo git Server , GitLab git server .
2. Global Git Server : github , Bitbucket etc
❖In this presentation we discuss about Bonobo Git Server (Local git Server) which are discussion below :
24
Bonobo Git Server
❖Bonobo Git Server for Windows is a web application you can install on your IIS. It provides an easy management
tool and access to your git repositories that are self hosted on your server.
❖Bonobo Git Server is an open-source project as it is licensed with a MIT License.
❖Bonobo Git Server is a free git server for Windows and it should stay free.
25
Working Procedure on Bonobo Git Server
26
Working Procedure on Bonobo Git Server
27
Working Procedure on Bonobo Git Server
28
Working Procedure on Bonobo Git Server
29
Git communication Command with Remote Server
Command Description
git remote add origin “Server_link” Add Remote Server with Git Repository
git remote Show all of Origin
git pull origin master Pull down into Git Repository from Server
git push origin master Push repository history into Repository from Server
30
Git Alias Command
Command Description
alias gc=”git reset -m” Create an Alias which is gc
31
Reference
❖https://git-scm.com/
❖https://bonobogitserver.com/
❖https://youtu.be/j1oFazXrzN4
❖https://www.youtube.com/watch?v=M2a7OQX8te4
❖https://progit2.s3.amazonaws.com/en/2016-03-22-f3531/progit-en.1084.pdf
32
Question & Answer
33
34

More Related Content

What's hot

Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHub
Vikram SV
 
Evolution of Version Control In Open Source
Evolution of Version Control In Open SourceEvolution of Version Control In Open Source
Evolution of Version Control In Open Source
Chris Aniszczyk
 
Git for a newbie
Git for a newbieGit for a newbie
Git for a newbie
Anuj Sharma
 
کنترل ورژن گیت
کنترل ورژن گیتکنترل ورژن گیت
کنترل ورژن گیت
Shiraz LUG
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
Colin Su
 
Docker con osdk_ver1.0
Docker con osdk_ver1.0Docker con osdk_ver1.0
Docker con osdk_ver1.0
Shunjiro Yatsuzuka
 
Git 101
Git 101Git 101
Git 101
jayrparro
 
Hg for bioinformatics, second part
Hg for bioinformatics, second partHg for bioinformatics, second part
Hg for bioinformatics, second part
Giovanni Marco Dall'Olio
 
A Practical Introduction to git
A Practical Introduction to gitA Practical Introduction to git
A Practical Introduction to git
Emanuele Olivetti
 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version Control
RaksitMantanacharu
 
Hg version control bioinformaticians
Hg version control bioinformaticiansHg version control bioinformaticians
Hg version control bioinformaticians
Giovanni Marco Dall'Olio
 
Introduction to GIT versioning
Introduction to GIT versioningIntroduction to GIT versioning
Introduction to GIT versioning
Stackit Community
 
Docker italia fatti un container tutto tuo
Docker italia fatti un container tutto tuoDocker italia fatti un container tutto tuo
Docker italia fatti un container tutto tuo
Giulio De Donato
 
Git in 10 minutes
Git in 10 minutesGit in 10 minutes
Git in 10 minutes
Safique Ahmed Faruque
 
git presentation
git presentation git presentation
git presentation
Belal Quamar
 
libreCMC : The Libre Embedded GNU/Linux Distro
libreCMC : The Libre Embedded GNU/Linux DistrolibreCMC : The Libre Embedded GNU/Linux Distro
libreCMC : The Libre Embedded GNU/Linux Distro
All Things Open
 
Git training with Devaamo
Git training with DevaamoGit training with Devaamo
Git training with Devaamo
Otto Kekäläinen
 
App container rkt
App container rktApp container rkt
App container rkt
Xiaofeng Guo
 
Conda and Bioconda
Conda and BiocondaConda and Bioconda
Conda and Bioconda
Hoffman Lab
 

What's hot (20)

Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHub
 
Evolution of Version Control In Open Source
Evolution of Version Control In Open SourceEvolution of Version Control In Open Source
Evolution of Version Control In Open Source
 
Git for a newbie
Git for a newbieGit for a newbie
Git for a newbie
 
کنترل ورژن گیت
کنترل ورژن گیتکنترل ورژن گیت
کنترل ورژن گیت
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Docker con osdk_ver1.0
Docker con osdk_ver1.0Docker con osdk_ver1.0
Docker con osdk_ver1.0
 
Git 101
Git 101Git 101
Git 101
 
Hg for bioinformatics, second part
Hg for bioinformatics, second partHg for bioinformatics, second part
Hg for bioinformatics, second part
 
A Practical Introduction to git
A Practical Introduction to gitA Practical Introduction to git
A Practical Introduction to git
 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version Control
 
Hg version control bioinformaticians
Hg version control bioinformaticiansHg version control bioinformaticians
Hg version control bioinformaticians
 
setting up a repository using GIT
setting up a repository using GITsetting up a repository using GIT
setting up a repository using GIT
 
Introduction to GIT versioning
Introduction to GIT versioningIntroduction to GIT versioning
Introduction to GIT versioning
 
Docker italia fatti un container tutto tuo
Docker italia fatti un container tutto tuoDocker italia fatti un container tutto tuo
Docker italia fatti un container tutto tuo
 
Git in 10 minutes
Git in 10 minutesGit in 10 minutes
Git in 10 minutes
 
git presentation
git presentation git presentation
git presentation
 
libreCMC : The Libre Embedded GNU/Linux Distro
libreCMC : The Libre Embedded GNU/Linux DistrolibreCMC : The Libre Embedded GNU/Linux Distro
libreCMC : The Libre Embedded GNU/Linux Distro
 
Git training with Devaamo
Git training with DevaamoGit training with Devaamo
Git training with Devaamo
 
App container rkt
App container rktApp container rkt
App container rkt
 
Conda and Bioconda
Conda and BiocondaConda and Bioconda
Conda and Bioconda
 

Similar to Presentation on Repository Control System

git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
Git
GitGit
Git presentation
Git presentationGit presentation
Git presentation
Sai Kumar Satapathy
 
Introduction to GIT Endava 2023
Introduction to GIT Endava 2023Introduction to GIT Endava 2023
Introduction to GIT Endava 2023
Alexandru Loghin
 
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, TrivandrumIntroduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
AbhijitNarayan2
 
GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
Mithilesh Singh
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
uzair
 
Git Workshop : Getting Started
Git Workshop : Getting StartedGit Workshop : Getting Started
Git Workshop : Getting StartedWildan Maulana
 
Git Basics
Git BasicsGit Basics
Git Basics
Ryan Condron
 
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
PRIYATHAMDARISI
 
Git And Git Hub.pptx
Git And Git Hub.pptxGit And Git Hub.pptx
Git And Git Hub.pptx
MishalBibi
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
GIT By Sivakrishna
GIT By SivakrishnaGIT By Sivakrishna
GIT By Sivakrishna
Nyros Technologies
 
Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?
9 series
 
Git introduction
Git introductionGit introduction
Git introduction
satyendrajaladi
 
Git_tutorial.pdf
Git_tutorial.pdfGit_tutorial.pdf
Git_tutorial.pdf
AliaaTarek5
 
Grokking opensource with github
Grokking opensource with githubGrokking opensource with github
Grokking opensource with github
GoogleDeveloperStude4
 
Introduction to Git and Github
Introduction to Git and Github Introduction to Git and Github
Introduction to Git and Github
Max Claus Nunes
 

Similar to Presentation on Repository Control System (20)

git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
 
Git
GitGit
Git
 
Git presentation
Git presentationGit presentation
Git presentation
 
Introduction to GIT Endava 2023
Introduction to GIT Endava 2023Introduction to GIT Endava 2023
Introduction to GIT Endava 2023
 
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, TrivandrumIntroduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
Introduction to Git and Github - Google Developer Student Clubs CET, Trivandrum
 
GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
 
Git Workshop : Getting Started
Git Workshop : Getting StartedGit Workshop : Getting Started
Git Workshop : Getting Started
 
Git Basics
Git BasicsGit Basics
Git Basics
 
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 Git Hub.pptx
Git And Git Hub.pptxGit And Git Hub.pptx
Git And Git Hub.pptx
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
 
Git session 1
Git session 1Git session 1
Git session 1
 
GIT By Sivakrishna
GIT By SivakrishnaGIT By Sivakrishna
GIT By Sivakrishna
 
Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?
 
Git introduction
Git introductionGit introduction
Git introduction
 
Git_tutorial.pdf
Git_tutorial.pdfGit_tutorial.pdf
Git_tutorial.pdf
 
Grokking opensource with github
Grokking opensource with githubGrokking opensource with github
Grokking opensource with github
 
Introduction to Git and Github
Introduction to Git and Github Introduction to Git and Github
Introduction to Git and Github
 

Recently uploaded

BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Nidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, TipsNidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, Tips
vrstrong314
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 

Recently uploaded (20)

BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Nidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, TipsNidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, Tips
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 

Presentation on Repository Control System

  • 1. Repository Control System using Git Prepared By Md. Mujahid Islam 1
  • 2. What is version control ? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. 2
  • 3. Local Version Control Systems Many people’s version-control method of choice is to copy files into another directory (perhaps a time-stamped directory, if they’re clever). This approach is very common because it is so simple, but it is also incredibly error prone. 3
  • 5. Centralized Version Control Systems ❖These systems, such as CVS, Subversion, and Perforce, have a single server that contains all the versioned files, and a number of clients that check out files from that central place. ❖This setup offers many advantages, especially over local VCSs. For example, everyone knows to a certain degree what everyone else on the project is doing. ❖Local VCS systems suffer from this same problem – whenever you have the entire history of the project in a single place, you risk losing everything. 5
  • 7. Distributed Version Control Systems ❖This is where Distributed Version Control Systems (DVCSs) step in. In a DVCS (such as Git, Mercurial, Bazaar or Darcs), clients don’t just check out the latest snapshot of the files: they fully mirror the repository. Thus if any server dies, and these systems were collaborating via it, any of the client repositories can be copied back up to the server to restore it. ❖if any server dies, and these systems were collaborating via it, any of the client repositories can be copied back up to the server to restore it. Every clone is really a full backup of all the data. 7
  • 9. Repository ❖ Generically refers to a central place where data is stored and maintained. ❖A repository can be a place where multiple databases or files are located for distribution over a network, or a repository can be a location that is directly accessible to the user without having to travel across a network. ❖Example : Git, Mercurial, Bazaar or Darcs 9
  • 10. About Git ❖Git is a version control system that is widely used for software development and other version control tasks. ❖It is a distributed revision control system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows. 10
  • 11. A Short History of Git ❖In 2002, the Linux kernel project began using a proprietary DVCS called BitKeeper. ❖In 2005, the relationship between the community that developed the Linux kernel and the commercial company that developed BitKeeper broke down, and the tool’s free-of-charge status was revoked. ❖Since its birth in 2005, Git has evolved and matured to be easy to use and yet retain these initial qualities. 11
  • 12. Working Mechanism in Git The three main sections of a Git project: the Git directory, the working directory, and the staging area. 12
  • 13. How to use Git ❖Almost Every IDE support git plugin . Installing this plugin we perform git operation through UI console their Like Android Studio, Eclipse, Netbeans etc. ❖Using Command we can perform following operation . In this slide we perform git operation using Git console . 13
  • 14. Git Topics ❖Git Basic Command ❖Git Branching & Branching Command ❖Git Reset & Reset Command ❖Git Stash Command ❖Git Server ❖Git Communication Command with Remote Server ❖Git Alias Command 14
  • 15. Git Basic Command Command Description git init Initialize git git status Show git status git config --global user.name “mbiplobe” Set user name globally git config user.name “mbiplobe” Set user name only for current project git config user.email “mbiplobe@gmail.com” Set email address only for current project git config --global user.email “mbiplobe@gmail.com” Set email address globally 15
  • 16. Git Basic Command Command Description git config user.name Show your use name git config user.email Show your email address git config add *.pdf Add pdf file in stage directory git config add -A (A=All) Add all file in stage directory git commit -m “message” (M=Message) Add message & file add into committed Directory git commit -am “message” (a=All,m=Message) Add message & all file add into committed Directory 16
  • 17. Git Basic Command Command Description git config user.name Show your use name git config user.email Show your email address git config add *.pdf Add pdf file in stage directory git config add -A (A=All) Add all file in stage directory git commit -m “message” (M=Message) Add message & file add into committed Directory git commit -am “message” (a=All,m=Message) Add message & all file add into committed Directory 17
  • 18. Giti Basic Command Command Description git checkout 43e33d3 Move to 43e33d3 version git show 43e33d3 Show every history 43e33d3 git checkout 43e33d3 text.txt Move Current version to text.txt of this 43e33d3 version git commit log Show all log history git checkout master -f Move text.txt of 43e33d3 version To master 18
  • 19. Git Branching & Command 19
  • 20. Git Branching & Command Command Description git branch Show all created branch git branch mbiplobe Create a branch which name is mbiplobe Git checkout mbiplobe Checkout current branch to master branch 20
  • 21. Git Reset & Reset Command ❖Git Reset option help us remove wrong commit or Edit or modify wrong commit . ❖There are two type of Reset available in git which are given below : 1. Git Soft Reset : After performing this operation previous data or file will not remove from git , just remote wrong commit only . 2. Git Hard Reset :After performing this operation all file or data & commit will be removed . 21
  • 22. Git Reset & Reset Command Command Description git reset --soft 1a2f1c9 Reset commit only & data will not be removed or deleted git diff HEAD Show different Accidental Commit git reset --hard 1a2f1c9 Reset commit & data will be removed or deleted git reset reflog Show all work what we done git reset HEAD @{8} Back reset version 8 git reset -hard 22
  • 23. Git Stash Command Command Description git stash Create Stash List git stash list Show all list item git stash clear Clear all stash list 23
  • 24. Git Server ❖Git Server is a place where we host our local git repository . There are two type of git Server available which are given below : 1. Local Git Server : Bonobo git Server , GitLab git server . 2. Global Git Server : github , Bitbucket etc ❖In this presentation we discuss about Bonobo Git Server (Local git Server) which are discussion below : 24
  • 25. Bonobo Git Server ❖Bonobo Git Server for Windows is a web application you can install on your IIS. It provides an easy management tool and access to your git repositories that are self hosted on your server. ❖Bonobo Git Server is an open-source project as it is licensed with a MIT License. ❖Bonobo Git Server is a free git server for Windows and it should stay free. 25
  • 26. Working Procedure on Bonobo Git Server 26
  • 27. Working Procedure on Bonobo Git Server 27
  • 28. Working Procedure on Bonobo Git Server 28
  • 29. Working Procedure on Bonobo Git Server 29
  • 30. Git communication Command with Remote Server Command Description git remote add origin “Server_link” Add Remote Server with Git Repository git remote Show all of Origin git pull origin master Pull down into Git Repository from Server git push origin master Push repository history into Repository from Server 30
  • 31. Git Alias Command Command Description alias gc=”git reset -m” Create an Alias which is gc 31
  • 34. 34