SlideShare a Scribd company logo
GIT Global Information Tracking
Contents What is GIT? Why GIT? Normal Work flow?  Branching / Merging? Why branching with GIT is awesome? Local and Remote operations Work flow with commands Sample screens
What is GIT? A popular distributed version control system designed to handle very large projects with speed and efficiency. http://git.or.cz/
Why GIT? •  Open source •  Easy to use and share your code efficiently •  Extremely fast, even with large projects •  Unlimited Repositories •  Unlimited branches •  Community
 
Staging files . git add [file names] •  add all changed files to the staging area: git add . •  these changes are  NOT  committed yet
GIT staging area •  git has a concept of a ‘staging area’ •  you first stage all of the changes that you are happy with •  then you can commit the changes using commit command
Committing git commit -m “commit message” Here commit message is used to track the cause for modifications in future.
Branching / Merging
Branching? git branch git branch [new branch name] git checkout [new branch name]
Merging? git checkout [target branch] git merge [other branch]
Why branching and merging awesome? Git will allow you to have multiple branches for each repository that can be entirely independent of each other and the creation, merging and deletion of those lines of development take seconds. Git makes this process incredibly easy and it changes the way most developers work when they learn it.
Merging and Branching usage $ git checkout -b test $ git commit -am "Adding cutoff method to String" $ git checkout master Switched to branch "master" $ git merge test
Remote operations git push [repository] [repository branch] git pull [repository] [repository branch]
Working with GIT? First we have to create an account in  http://www.github.com . Login to github with your account details. Create repository:  Goto Dashboard New Repository Give project name,description,homepageurl Click on create repository.
To Manage(Add,Modify,Remove files) in  repository we need to have private,public keys. Now check the keys in your system. Open Git Bash Type  cd ~/.ssh If you get dir not found error then you have to generate the keys. Type ssh-keygen -t rsa -C " [email_address] " Now your public key has been saved in /home/venkat/.ssh/id_rsa.pub
Next steps Global setup: 1. Download and install Git software 2. git config --global user.name "venkat" 3. git config --global user.email venkat_nyros@yahoo.com
Process id_rsa is the private key and id_rsa_pub is the public key. Goto Account settings -> SSH Public Keys -> Add another public key. Enter title and key and press Add key. Test whether it is correctly configured or not $ ssh git@github.com Hi venkatadapa! You've successfully authenticated ,
Local -> Remote Submition mkdir Appname cd Appname git init  touch README git add README git commit -m 'first commit' git remote add origin git@github.com:venkatadapa/Appname.git git push origin master
git add . git commit -m “full application submitted” git push origin master  Now all files in your application was submitted to remote repository
Remote -> Local  -> Remote Git clone gitrepo_url [local_dirname] Cd local_dirname Change some files and add new files Git add [filesnames] add the modified files to repository Git commit -m “cause for modifications” Git push origin master
Tracking Git –help Git stash No local changes to save Git diff will show you all modifications made on each file Gti status will show you any changes need to update into server
Git log  Will show you all commit messages and commiters
GOOD LUCK

More Related Content

PPTX
Git, github and the hacktober fest
PPTX
Introduction to Git and Github
PPT
GIT By Sivakrishna
PPTX
Introduction to GIT
PDF
Gitt and Git-flow
PPTX
Introduction to git and github
PPTX
Workshop on Git and GitHub
PPTX
Stable master workflow with Gerrit Code Review
Git, github and the hacktober fest
Introduction to Git and Github
GIT By Sivakrishna
Introduction to GIT
Gitt and Git-flow
Introduction to git and github
Workshop on Git and GitHub
Stable master workflow with Gerrit Code Review

What's hot (20)

PPTX
HacktoberFest-Git&GitHub
PPTX
Introduction to git
PPTX
Git and github fundamentals
PPTX
Git n git hub
PPTX
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
PPTX
Git presentation
PPTX
Git 101
PDF
Advance workshop on git
PDF
Introduction to Git
PDF
Introduction To Git
PDF
Git Version Control System
PPTX
Git in 10 minutes
PPTX
Hacktoberfest intro to Git and GitHub
PDF
Version Control & Git
PDF
Version Control System - Git
PDF
Intro to Git & GitHub
PPTX
git-and-bitbucket
PDF
Git 101 Workshop
PPTX
Extra bit with git
PDF
HacktoberFest-Git&GitHub
Introduction to git
Git and github fundamentals
Git n git hub
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git presentation
Git 101
Advance workshop on git
Introduction to Git
Introduction To Git
Git Version Control System
Git in 10 minutes
Hacktoberfest intro to Git and GitHub
Version Control & Git
Version Control System - Git
Intro to Git & GitHub
git-and-bitbucket
Git 101 Workshop
Extra bit with git
Ad

Viewers also liked (19)

PPTX
Git basic commands
PPTX
Svn vs mercurial vs github
PPTX
Enfoque cualitativo
PPTX
Muchalucha
PPT
Materi kelas x
PPT
Pemasuan semula t2
PPTX
9 event
PDF
Get Noticed! Flyer
PDF
OpenStack Summit 2015 Tokyo Heat-Translator and TOSCA vbrownbag
PDF
Roshe Run Noir Gris
PDF
Tramonex_Corporate Brochure (3)
PPTX
Test
PDF
Brookfield - White Paper - LGBT Assignees
PPT
Beni culturali - Daniela Fiore
DOCX
Bản tin tuần trường anh ngữ CIP 23 tháng11
DOC
ValeryBassenkoResume
PDF
Pingpong(1)
PDF
emediaIT - Mobility Solutions - 2011.03.01
Git basic commands
Svn vs mercurial vs github
Enfoque cualitativo
Muchalucha
Materi kelas x
Pemasuan semula t2
9 event
Get Noticed! Flyer
OpenStack Summit 2015 Tokyo Heat-Translator and TOSCA vbrownbag
Roshe Run Noir Gris
Tramonex_Corporate Brochure (3)
Test
Brookfield - White Paper - LGBT Assignees
Beni culturali - Daniela Fiore
Bản tin tuần trường anh ngữ CIP 23 tháng11
ValeryBassenkoResume
Pingpong(1)
emediaIT - Mobility Solutions - 2011.03.01
Ad

Similar to Github By Nyros Developer (20)

DOCX
Git github
PDF
Git Commands Every Developer Should Know?
PPTX
git github PPT_GDSCIIITK.pptx
PPTX
Git & GitLab
PPTX
Git and Github
ODP
Git presentation
PPT
Introduction to Git and Github
PPTX
Git and github
PDF
git-commands-cheat-sheet-infopediya-com.pdf
PDF
introductiontogitandgithub-120702044048-phpapp01.pdf
PPTX
Introduction to git and Github
PPTX
Introduction git
PPTX
Introduction To Git Workshop
PPTX
Mini-training: Let’s Git It!
PPTX
Git: Why And How to
PPTX
Git Memento of basic commands
PPTX
tech winter break workshop on git &git hub.pptx
ODP
GIT from n00b
PPTX
Git & GitHub 101farwsfrwvnfuvnvjvvv.pptx
Git github
Git Commands Every Developer Should Know?
git github PPT_GDSCIIITK.pptx
Git & GitLab
Git and Github
Git presentation
Introduction to Git and Github
Git and github
git-commands-cheat-sheet-infopediya-com.pdf
introductiontogitandgithub-120702044048-phpapp01.pdf
Introduction to git and Github
Introduction git
Introduction To Git Workshop
Mini-training: Let’s Git It!
Git: Why And How to
Git Memento of basic commands
tech winter break workshop on git &git hub.pptx
GIT from n00b
Git & GitHub 101farwsfrwvnfuvnvjvvv.pptx

More from Nyros Technologies (20)

PPT
MVC Architecture in ASP.Net By Nyros Developer
PPT
Web Designing Bugs - Fixes By Nyros Developer
PPT
Capistrano Deployment By Nyros Developer
PPT
Silver Light By Nyros Developer
PPT
Web 2.0 Design Standards By Nyros Developer
PPT
Web 2.0 By Nyros Developer
PPT
Caching By Nyros Developer
PPT
Language Integrated Query By Nyros Developer
PPT
New Features in .Net Framework 4.0 By Nyros Developer
PPT
Oops in PHP By Nyros Developer
PPT
Connect with Facebook to Rails Application By Nyros Developer
PPT
Research on Audio and Video Streaming
PPT
User Interface
PPT
Audio and Video Streaming
PPT
Deploying Rails Apps with Capistrano
PPT
Capistrano - Deployment Tool
PPT
Social Networking
PPT
Payment Gateway
PPT
Test Drive Development in Ruby On Rails
MVC Architecture in ASP.Net By Nyros Developer
Web Designing Bugs - Fixes By Nyros Developer
Capistrano Deployment By Nyros Developer
Silver Light By Nyros Developer
Web 2.0 Design Standards By Nyros Developer
Web 2.0 By Nyros Developer
Caching By Nyros Developer
Language Integrated Query By Nyros Developer
New Features in .Net Framework 4.0 By Nyros Developer
Oops in PHP By Nyros Developer
Connect with Facebook to Rails Application By Nyros Developer
Research on Audio and Video Streaming
User Interface
Audio and Video Streaming
Deploying Rails Apps with Capistrano
Capistrano - Deployment Tool
Social Networking
Payment Gateway
Test Drive Development in Ruby On Rails

Recently uploaded (20)

PPTX
Travel mania in india needs to change the world
PPTX
Learn how to use Portable Grinders Safely
PPT
proper hygiene for teenagers for secondary students .ppt
PPTX
diasspresentationndkcnskndncelklkfndc.pptx
PPTX
Personal Development - By Knowing Oneself?
PDF
SEX-GENDER-AND-SEXUALITY-LESSON-1-M (2).pdf
PPTX
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
PDF
My 'novel' Account of Human Possibility pdf.pdf
PDF
Red Light Wali Muskurahat – A Heart-touching Hindi Story
PPTX
Learn about numerology and do tarot reading
PPTX
Understanding the Self power point presentation
PPT
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
PPTX
Commmunication in Todays world- Principles and Barriers
PPTX
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
PPTX
show1- motivational ispiring positive thinking
PPTX
Learn numerology content and join tarot reading
PDF
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
DOCX
Boost your energy levels and Shred Weight
PDF
Attachment Theory What Childhood Says About Your Relationships.pdf
PPTX
UNIVERSAL HUMAN VALUES for NEP student .pptx
Travel mania in india needs to change the world
Learn how to use Portable Grinders Safely
proper hygiene for teenagers for secondary students .ppt
diasspresentationndkcnskndncelklkfndc.pptx
Personal Development - By Knowing Oneself?
SEX-GENDER-AND-SEXUALITY-LESSON-1-M (2).pdf
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
My 'novel' Account of Human Possibility pdf.pdf
Red Light Wali Muskurahat – A Heart-touching Hindi Story
Learn about numerology and do tarot reading
Understanding the Self power point presentation
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
Commmunication in Todays world- Principles and Barriers
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
show1- motivational ispiring positive thinking
Learn numerology content and join tarot reading
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
Boost your energy levels and Shred Weight
Attachment Theory What Childhood Says About Your Relationships.pdf
UNIVERSAL HUMAN VALUES for NEP student .pptx

Github By Nyros Developer

  • 2. Contents What is GIT? Why GIT? Normal Work flow? Branching / Merging? Why branching with GIT is awesome? Local and Remote operations Work flow with commands Sample screens
  • 3. What is GIT? A popular distributed version control system designed to handle very large projects with speed and efficiency. http://git.or.cz/
  • 4. Why GIT? • Open source • Easy to use and share your code efficiently • Extremely fast, even with large projects • Unlimited Repositories • Unlimited branches • Community
  • 5.  
  • 6. Staging files . git add [file names] • add all changed files to the staging area: git add . • these changes are NOT committed yet
  • 7. GIT staging area • git has a concept of a ‘staging area’ • you first stage all of the changes that you are happy with • then you can commit the changes using commit command
  • 8. Committing git commit -m “commit message” Here commit message is used to track the cause for modifications in future.
  • 10. Branching? git branch git branch [new branch name] git checkout [new branch name]
  • 11. Merging? git checkout [target branch] git merge [other branch]
  • 12. Why branching and merging awesome? Git will allow you to have multiple branches for each repository that can be entirely independent of each other and the creation, merging and deletion of those lines of development take seconds. Git makes this process incredibly easy and it changes the way most developers work when they learn it.
  • 13. Merging and Branching usage $ git checkout -b test $ git commit -am "Adding cutoff method to String" $ git checkout master Switched to branch "master" $ git merge test
  • 14. Remote operations git push [repository] [repository branch] git pull [repository] [repository branch]
  • 15. Working with GIT? First we have to create an account in http://www.github.com . Login to github with your account details. Create repository: Goto Dashboard New Repository Give project name,description,homepageurl Click on create repository.
  • 16. To Manage(Add,Modify,Remove files) in repository we need to have private,public keys. Now check the keys in your system. Open Git Bash Type cd ~/.ssh If you get dir not found error then you have to generate the keys. Type ssh-keygen -t rsa -C " [email_address] " Now your public key has been saved in /home/venkat/.ssh/id_rsa.pub
  • 17. Next steps Global setup: 1. Download and install Git software 2. git config --global user.name "venkat" 3. git config --global user.email venkat_nyros@yahoo.com
  • 18. Process id_rsa is the private key and id_rsa_pub is the public key. Goto Account settings -> SSH Public Keys -> Add another public key. Enter title and key and press Add key. Test whether it is correctly configured or not $ ssh git@github.com Hi venkatadapa! You've successfully authenticated ,
  • 19. Local -> Remote Submition mkdir Appname cd Appname git init touch README git add README git commit -m 'first commit' git remote add origin git@github.com:venkatadapa/Appname.git git push origin master
  • 20. git add . git commit -m “full application submitted” git push origin master Now all files in your application was submitted to remote repository
  • 21. Remote -> Local -> Remote Git clone gitrepo_url [local_dirname] Cd local_dirname Change some files and add new files Git add [filesnames] add the modified files to repository Git commit -m “cause for modifications” Git push origin master
  • 22. Tracking Git –help Git stash No local changes to save Git diff will show you all modifications made on each file Gti status will show you any changes need to update into server
  • 23. Git log Will show you all commit messages and commiters