SlideShare a Scribd company logo
Global Information Tracking   ( Git)  By  Siva Krishna Motamarri
Global Information Tracking   Introduction Advantages Steps to install  msysGit  software  to get  GitHub Repository  Creating Repository Under GitHub Exporting Projects to GitHub Repository Importing Repository from GitHub More Commands Why GIT Why Not SVN?
Introduction Git is a free and open source distributed version control system used as software configuration Management tool.     Version Control System? And what does  it do? Version Control System: The name itself means controlling of code i.e. source code management which allows programmers to easily share the code of their work with other programmers. By this feature developers can develop different feature on the same code by keeping track of all old versions.
Introduction Version control system consists of repository, where all files resides at one place. A repository works like a database, which stores each version(history of changes for any file) as a record. Then repository users can ‘checkout’ working copy. After making required changes then ‘commit’ changes back to repository, which can create new version (about the files and person who changed it). By this way developers can pull and push changes to repository in the developed of a web product. This mechanism or procedure is the process of version control system.  Git is a distributed version control system Git does not use a centralized server.  Git runs on Linux, BSD, Solaris, Darwin, Windows, and other operating systems.
Advantages Git is a  free & open source, distributed version control system  designed to handle everything from small to very large projects with speed and efficiency. Every Git clone is a full-fledged repository  with complete history and full revision tracking capabilities, not dependent on network access or a central server.  Branching and merging are fast  and easy to do. Content-tracking rather than file-tracking Smaller Space Requirement
Steps to install msysGit software  to get GitHub Repository  1. To upload your projects to your GitHub Repository, You have to install latest version Git-version.exe from  www.code.google.com/p/msysgit/downloads/list  and double clicking the download.  2. Run Git Bash program to get Git command prompt
Steps to install msysGit software  to get GitHub Repository
Steps to install msysGit software  to get GitHub Repository  Then Create a SSH Key , at least one SSH Key is required to upload your project from Your System to Git Hub repository. So create one SSH key for your system by using the below command in github command prompt.
Steps to install msysGit software  to get GitHub Repository
Steps to install msysGit software  to get GitHub Repository
Steps to install msysGit software  to get GitHub Repository  Finally copy the public key from “id_rsa.pub” file, it should add to your account on github repository.  Now to identify yourself to git:  Go to git bash shell command prompt and type following commands  $ git config –global user.name “Your Name Here”  $ git config –global user.email  [email_address]   [note: it should be equal to your email id  at github account].
Steps to install msysGit software for GitHub Repository. This will set the information stored when you commit to a git repo. Now Copy the ssh-rsa key from the path  C:\Documents and Settings\sivakrishna\.ssh
Steps to install msysGit software for GitHub Repository.  Before copying ssh-rsa key , You have create one account for your Repository in “http:\\ github.com\”.
Steps to install msysGit software for GitHub Repository. Click on your Account information on GitHub Repository
Steps to install msysGit software for GitHub Repository. Now Click on “add another public key” under SSH Public Keys.
Creating Repository Under GitHub Click on “dashboard” link under your GitHub account and click on “create a repository”
Creating Repository Under GitHub
Exporting Projects to GitHub Repository  mkdir Creation  cd Creation  git init  touch README  git add README  git commit -m 'first commit'
Exporting Projects to GitHub Repository Now you can push the contents of your Rails directory to the empty git repository that we created on Github in the previous step by running the following command in Git Bash shell: git remote add origin git@github.com:sivakrishna/Creation.git git push origin master
Exporting Projects to GitHub Repository
Importing Repository from GitHub Now we get the repository back to your system , by the following command. Git clone repo_url  Ex: git clone  git://github.com/sivakrishna/Creation.git
More Commands TO SCHEDULE THE ADDITION OF ALL FILES TO THE NEXT COMMIT git add . TO SEE THE STATUS git status  TO COMMIT git commit -m “First import”  TO SEE WHAT HAS BEEN COMMITTED git ls-files  TO SCHEDULE DELETION OF A FILE git rm [file name]  TO COMMIT ALL CHANGES IN FILES IN THE CURRENT REPOSITORY git commit -a
More Commands TO VIEW THE DIFFERENCE AS YOU COMMIT USE THE -v OPTION git commit -v  TO VIEW A LOG OF YOUR COMMITS git log  TO VIEW A LOG OF YOUR COMMITS WITH A GRAPH TO SHOW THE EXTENT OF THE CHANGES git log —stat  TO HAVE PAGINATION WHEN VIEWING THE LOG FILE USE THE -v OPTION git log -v
More Commands TO CREATE A NEW BRANCH git branch [name of your new branch]  TO PUSH THE NEW BRANCH TO A REMOTE REPOSITORY git push origin [new-remote]  TO PULL A NEW BRANCH FROM A REMOTE REPOSITORY git fetch origin [remote-branch]:[new-local-branch]  TO VIEW ALL OF THE EXISTING BRANCHES git branch  TO VIEW A LIST OF ALL BRANCHES git branch -a
Why Git Why Not SVN? Security The key difference between the two systems seems to be the model itself. Where Subversion offers a centralized model, Git provides a decentralized model. At the risk of over simplification, this means that Git offers each developer their very own, fully autonomous copy of the  entire  repository. With Subversion, each developer has their own working copy, but commits changes to a single, central repository. Speed Since each developer has a local copy of the entire repository, fundamental actions like diff, commit, etc. are all local. That’s always going to be faster. Fast is good. That said, server interaction with Subversion isn’t exactly excessive. Developers work in local working directories and only interact with the server in short time.
Why Git Why Not SVN? Smaller Space Requirement A Subversion working directory contains two copies of the entire code base. One that is actually being worked on and another tucked away in the .svn directory. Repository required ~12Gb of storage in Subversion and ~420Mb in Git.  Key’s for Branches 1. Creating branches in Git is a lot easier than doing this in SVN. 2. When merging the branch back, SVN didn’t know where that branch started. Git keeps track where branches come from. So when creating a branch, merging back is very simple. 3. When merging the branch back, each change was recorded back as the user who did the merge By the Git where as SVN doesn’t. Git keeps commit messages intact, when merging.
? Queries
Thank You  Siva Krishna . M
Ad

More Related Content

What's hot (20)

Version Control System - Git
Version Control System - GitVersion Control System - Git
Version Control System - Git
Carlo Bernaschina
 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentals
RajKharvar
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
KMS Technology
 
Git 101
Git 101Git 101
Git 101
jayrparro
 
Git
GitGit
Git
Mayank Patel
 
Git in 10 minutes
Git in 10 minutesGit in 10 minutes
Git in 10 minutes
Safique Ahmed Faruque
 
Github
GithubGithub
Github
JaneAlamAdnan
 
A prentation on github
A prentation on githubA prentation on github
A prentation on github
Veronica Ojochona Michael (MCP)
 
Version Control & Git
Version Control & GitVersion Control & Git
Version Control & Git
Jason Byrne
 
Git tutorial
Git tutorial Git tutorial
Git tutorial
TingYen Lee
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03
Gourav Varma
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
Omar Fathy
 
Git basics to advance with diagrams
Git basics to advance with diagramsGit basics to advance with diagrams
Git basics to advance with diagrams
Dilum Navanjana
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
Luigi De Russis
 
The everyday developer's guide to version control with Git
The everyday developer's guide to version control with GitThe everyday developer's guide to version control with Git
The everyday developer's guide to version control with Git
E Carter
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflows
Arthur Shvetsov
 
Github By Nyros Developer
Github By Nyros DeveloperGithub By Nyros Developer
Github By Nyros Developer
Nyros Technologies
 
Git for beginners
Git for beginnersGit for beginners
Git for beginners
Arulmurugan Rajaraman
 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
"FENG "GEORGE"" YU
 
Version Control System - Git
Version Control System - GitVersion Control System - Git
Version Control System - Git
Carlo Bernaschina
 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentals
RajKharvar
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
KMS Technology
 
Version Control & Git
Version Control & GitVersion Control & Git
Version Control & Git
Jason Byrne
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03
Gourav Varma
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
Omar Fathy
 
Git basics to advance with diagrams
Git basics to advance with diagramsGit basics to advance with diagrams
Git basics to advance with diagrams
Dilum Navanjana
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
Luigi De Russis
 
The everyday developer's guide to version control with Git
The everyday developer's guide to version control with GitThe everyday developer's guide to version control with Git
The everyday developer's guide to version control with Git
E Carter
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflows
Arthur Shvetsov
 

Viewers also liked (6)

London
LondonLondon
London
Mª Teresa Guerrero
 
PresentacióN1
PresentacióN1PresentacióN1
PresentacióN1
Mª Teresa Guerrero
 
Biz Talk Server
Biz Talk ServerBiz Talk Server
Biz Talk Server
Nyros Technologies
 
άσκηση 2 μη αναστρέφουσα(2) αγγελος
άσκηση 2   μη αναστρέφουσα(2) αγγελοςάσκηση 2   μη αναστρέφουσα(2) αγγελος
άσκηση 2 μη αναστρέφουσα(2) αγγελος
guestf5701b
 
Video Strategies for Nonprofits
Video Strategies for NonprofitsVideo Strategies for Nonprofits
Video Strategies for Nonprofits
NetSquared Atlanta
 
Rspec
RspecRspec
Rspec
Nyros Technologies
 
Ad

Similar to GIT By Sivakrishna (20)

git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
Wycliff1
 
Mastering Git: Version Control for Developers
Mastering Git: Version Control for DevelopersMastering Git: Version Control for Developers
Mastering Git: Version Control for Developers
AyeshaSharif19
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
Gaurav Wable
 
Git & version control crash course
Git & version control crash course Git & version control crash course
Git & version control crash course
Eslam Saeed
 
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
SahilSonar4
 
Git and Github.pptx
Git and Github.pptxGit and Github.pptx
Git and Github.pptx
Hitesh670643
 
GIT & Github introduction for beginners
GIT & Github introduction for  beginnersGIT & Github introduction for  beginners
GIT & Github introduction for beginners
riteshsingh3651
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
Git & Github
Git & GithubGit & Github
Git & Github
Aman Lalpuria
 
Git, github and the hacktober fest
Git, github and the hacktober festGit, github and the hacktober fest
Git, github and the hacktober fest
UtkarshRaj83
 
Github and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdfGithub and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdf
krishna50blogging
 
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 introduction
Git introductionGit introduction
Git introduction
satyendrajaladi
 
introductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdfintroductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
 
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
 
Git Training
Git TrainingGit Training
Git Training
Prabal Tyagi
 
Git and Github
Git and GithubGit and Github
Git and Github
Teodora Ahkozidou
 
Subversion to Git Migration
Subversion to Git MigrationSubversion to Git Migration
Subversion to Git Migration
Manish Chakravarty
 
Git and github
Git and githubGit and github
Git and github
Teodora Ahkozidou
 
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
Wycliff1
 
Mastering Git: Version Control for Developers
Mastering Git: Version Control for DevelopersMastering Git: Version Control for Developers
Mastering Git: Version Control for Developers
AyeshaSharif19
 
Git & version control crash course
Git & version control crash course Git & version control crash course
Git & version control crash course
Eslam Saeed
 
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
SahilSonar4
 
Git and Github.pptx
Git and Github.pptxGit and Github.pptx
Git and Github.pptx
Hitesh670643
 
GIT & Github introduction for beginners
GIT & Github introduction for  beginnersGIT & Github introduction for  beginners
GIT & Github introduction for beginners
riteshsingh3651
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
Git, github and the hacktober fest
Git, github and the hacktober festGit, github and the hacktober fest
Git, github and the hacktober fest
UtkarshRaj83
 
Github and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdfGithub and Git What the fuck is this shit .pdf
Github and Git What the fuck is this shit .pdf
krishna50blogging
 
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
 
introductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdfintroductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
 
Ad

More from Nyros Technologies (20)

MVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros DeveloperMVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros Developer
Nyros Technologies
 
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros DeveloperWeb Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Nyros Technologies
 
Capistrano Deployment By Nyros Developer
Capistrano Deployment By Nyros DeveloperCapistrano Deployment By Nyros Developer
Capistrano Deployment By Nyros Developer
Nyros Technologies
 
Silver Light By Nyros Developer
Silver Light By Nyros DeveloperSilver Light By Nyros Developer
Silver Light By Nyros Developer
Nyros Technologies
 
Web 2.0 Design Standards By Nyros Developer
Web 2.0 Design Standards By Nyros DeveloperWeb 2.0 Design Standards By Nyros Developer
Web 2.0 Design Standards By Nyros Developer
Nyros Technologies
 
Web 2.0 By Nyros Developer
Web 2.0 By Nyros DeveloperWeb 2.0 By Nyros Developer
Web 2.0 By Nyros Developer
Nyros Technologies
 
Caching By Nyros Developer
Caching By Nyros DeveloperCaching By Nyros Developer
Caching By Nyros Developer
Nyros Technologies
 
Language Integrated Query By Nyros Developer
Language Integrated Query By Nyros DeveloperLanguage Integrated Query By Nyros Developer
Language Integrated Query By Nyros Developer
Nyros Technologies
 
New Features in .Net Framework 4.0 By Nyros Developer
New Features in .Net Framework 4.0 By Nyros DeveloperNew Features in .Net Framework 4.0 By Nyros Developer
New Features in .Net Framework 4.0 By Nyros Developer
Nyros Technologies
 
Oops in PHP By Nyros Developer
Oops in PHP By Nyros DeveloperOops in PHP By Nyros Developer
Oops in PHP By Nyros Developer
Nyros Technologies
 
Connect with Facebook to Rails Application By Nyros Developer
Connect with Facebook to Rails Application By Nyros DeveloperConnect with Facebook to Rails Application By Nyros Developer
Connect with Facebook to Rails Application By Nyros Developer
Nyros Technologies
 
Research on Audio and Video Streaming
Research on Audio and Video StreamingResearch on Audio and Video Streaming
Research on Audio and Video Streaming
Nyros Technologies
 
User Interface
User InterfaceUser Interface
User Interface
Nyros Technologies
 
Audio and Video Streaming
Audio and Video StreamingAudio and Video Streaming
Audio and Video Streaming
Nyros Technologies
 
Deploying Rails Apps with Capistrano
Deploying Rails Apps with CapistranoDeploying Rails Apps with Capistrano
Deploying Rails Apps with Capistrano
Nyros Technologies
 
Capistrano - Deployment Tool
Capistrano - Deployment ToolCapistrano - Deployment Tool
Capistrano - Deployment Tool
Nyros Technologies
 
Social Networking
Social NetworkingSocial Networking
Social Networking
Nyros Technologies
 
Payment Gateway
Payment GatewayPayment Gateway
Payment Gateway
Nyros Technologies
 
Aws
AwsAws
Aws
Nyros Technologies
 
Test Drive Development in Ruby On Rails
Test Drive Development in Ruby On RailsTest Drive Development in Ruby On Rails
Test Drive Development in Ruby On Rails
Nyros Technologies
 
MVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros DeveloperMVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros Developer
Nyros Technologies
 
Web Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros DeveloperWeb Designing Bugs - Fixes By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Nyros Technologies
 
Capistrano Deployment By Nyros Developer
Capistrano Deployment By Nyros DeveloperCapistrano Deployment By Nyros Developer
Capistrano Deployment By Nyros Developer
Nyros Technologies
 
Silver Light By Nyros Developer
Silver Light By Nyros DeveloperSilver Light By Nyros Developer
Silver Light By Nyros Developer
Nyros Technologies
 
Web 2.0 Design Standards By Nyros Developer
Web 2.0 Design Standards By Nyros DeveloperWeb 2.0 Design Standards By Nyros Developer
Web 2.0 Design Standards By Nyros Developer
Nyros Technologies
 
Language Integrated Query By Nyros Developer
Language Integrated Query By Nyros DeveloperLanguage Integrated Query By Nyros Developer
Language Integrated Query By Nyros Developer
Nyros Technologies
 
New Features in .Net Framework 4.0 By Nyros Developer
New Features in .Net Framework 4.0 By Nyros DeveloperNew Features in .Net Framework 4.0 By Nyros Developer
New Features in .Net Framework 4.0 By Nyros Developer
Nyros Technologies
 
Oops in PHP By Nyros Developer
Oops in PHP By Nyros DeveloperOops in PHP By Nyros Developer
Oops in PHP By Nyros Developer
Nyros Technologies
 
Connect with Facebook to Rails Application By Nyros Developer
Connect with Facebook to Rails Application By Nyros DeveloperConnect with Facebook to Rails Application By Nyros Developer
Connect with Facebook to Rails Application By Nyros Developer
Nyros Technologies
 
Research on Audio and Video Streaming
Research on Audio and Video StreamingResearch on Audio and Video Streaming
Research on Audio and Video Streaming
Nyros Technologies
 
Deploying Rails Apps with Capistrano
Deploying Rails Apps with CapistranoDeploying Rails Apps with Capistrano
Deploying Rails Apps with Capistrano
Nyros Technologies
 
Test Drive Development in Ruby On Rails
Test Drive Development in Ruby On RailsTest Drive Development in Ruby On Rails
Test Drive Development in Ruby On Rails
Nyros Technologies
 

Recently uploaded (20)

Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 

GIT By Sivakrishna

  • 1. Global Information Tracking ( Git) By Siva Krishna Motamarri
  • 2. Global Information Tracking Introduction Advantages Steps to install msysGit software to get GitHub Repository Creating Repository Under GitHub Exporting Projects to GitHub Repository Importing Repository from GitHub More Commands Why GIT Why Not SVN?
  • 3. Introduction Git is a free and open source distributed version control system used as software configuration Management tool.   Version Control System? And what does it do? Version Control System: The name itself means controlling of code i.e. source code management which allows programmers to easily share the code of their work with other programmers. By this feature developers can develop different feature on the same code by keeping track of all old versions.
  • 4. Introduction Version control system consists of repository, where all files resides at one place. A repository works like a database, which stores each version(history of changes for any file) as a record. Then repository users can ‘checkout’ working copy. After making required changes then ‘commit’ changes back to repository, which can create new version (about the files and person who changed it). By this way developers can pull and push changes to repository in the developed of a web product. This mechanism or procedure is the process of version control system. Git is a distributed version control system Git does not use a centralized server. Git runs on Linux, BSD, Solaris, Darwin, Windows, and other operating systems.
  • 5. Advantages Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are fast and easy to do. Content-tracking rather than file-tracking Smaller Space Requirement
  • 6. Steps to install msysGit software to get GitHub Repository 1. To upload your projects to your GitHub Repository, You have to install latest version Git-version.exe from www.code.google.com/p/msysgit/downloads/list and double clicking the download. 2. Run Git Bash program to get Git command prompt
  • 7. Steps to install msysGit software to get GitHub Repository
  • 8. Steps to install msysGit software to get GitHub Repository Then Create a SSH Key , at least one SSH Key is required to upload your project from Your System to Git Hub repository. So create one SSH key for your system by using the below command in github command prompt.
  • 9. Steps to install msysGit software to get GitHub Repository
  • 10. Steps to install msysGit software to get GitHub Repository
  • 11. Steps to install msysGit software to get GitHub Repository Finally copy the public key from “id_rsa.pub” file, it should add to your account on github repository. Now to identify yourself to git: Go to git bash shell command prompt and type following commands $ git config –global user.name “Your Name Here” $ git config –global user.email [email_address] [note: it should be equal to your email id at github account].
  • 12. Steps to install msysGit software for GitHub Repository. This will set the information stored when you commit to a git repo. Now Copy the ssh-rsa key from the path C:\Documents and Settings\sivakrishna\.ssh
  • 13. Steps to install msysGit software for GitHub Repository. Before copying ssh-rsa key , You have create one account for your Repository in “http:\\ github.com\”.
  • 14. Steps to install msysGit software for GitHub Repository. Click on your Account information on GitHub Repository
  • 15. Steps to install msysGit software for GitHub Repository. Now Click on “add another public key” under SSH Public Keys.
  • 16. Creating Repository Under GitHub Click on “dashboard” link under your GitHub account and click on “create a repository”
  • 18. Exporting Projects to GitHub Repository mkdir Creation cd Creation git init touch README git add README git commit -m 'first commit'
  • 19. Exporting Projects to GitHub Repository Now you can push the contents of your Rails directory to the empty git repository that we created on Github in the previous step by running the following command in Git Bash shell: git remote add origin [email protected]:sivakrishna/Creation.git git push origin master
  • 20. Exporting Projects to GitHub Repository
  • 21. Importing Repository from GitHub Now we get the repository back to your system , by the following command. Git clone repo_url Ex: git clone git://github.com/sivakrishna/Creation.git
  • 22. More Commands TO SCHEDULE THE ADDITION OF ALL FILES TO THE NEXT COMMIT git add . TO SEE THE STATUS git status TO COMMIT git commit -m “First import” TO SEE WHAT HAS BEEN COMMITTED git ls-files TO SCHEDULE DELETION OF A FILE git rm [file name] TO COMMIT ALL CHANGES IN FILES IN THE CURRENT REPOSITORY git commit -a
  • 23. More Commands TO VIEW THE DIFFERENCE AS YOU COMMIT USE THE -v OPTION git commit -v TO VIEW A LOG OF YOUR COMMITS git log TO VIEW A LOG OF YOUR COMMITS WITH A GRAPH TO SHOW THE EXTENT OF THE CHANGES git log —stat TO HAVE PAGINATION WHEN VIEWING THE LOG FILE USE THE -v OPTION git log -v
  • 24. More Commands TO CREATE A NEW BRANCH git branch [name of your new branch] TO PUSH THE NEW BRANCH TO A REMOTE REPOSITORY git push origin [new-remote] TO PULL A NEW BRANCH FROM A REMOTE REPOSITORY git fetch origin [remote-branch]:[new-local-branch] TO VIEW ALL OF THE EXISTING BRANCHES git branch TO VIEW A LIST OF ALL BRANCHES git branch -a
  • 25. Why Git Why Not SVN? Security The key difference between the two systems seems to be the model itself. Where Subversion offers a centralized model, Git provides a decentralized model. At the risk of over simplification, this means that Git offers each developer their very own, fully autonomous copy of the entire repository. With Subversion, each developer has their own working copy, but commits changes to a single, central repository. Speed Since each developer has a local copy of the entire repository, fundamental actions like diff, commit, etc. are all local. That’s always going to be faster. Fast is good. That said, server interaction with Subversion isn’t exactly excessive. Developers work in local working directories and only interact with the server in short time.
  • 26. Why Git Why Not SVN? Smaller Space Requirement A Subversion working directory contains two copies of the entire code base. One that is actually being worked on and another tucked away in the .svn directory. Repository required ~12Gb of storage in Subversion and ~420Mb in Git. Key’s for Branches 1. Creating branches in Git is a lot easier than doing this in SVN. 2. When merging the branch back, SVN didn’t know where that branch started. Git keeps track where branches come from. So when creating a branch, merging back is very simple. 3. When merging the branch back, each change was recorded back as the user who did the merge By the Git where as SVN doesn’t. Git keeps commit messages intact, when merging.
  • 28. Thank You Siva Krishna . M