• Save
Quick and easy way to get started with Git & GitHub
Upcoming SlideShare
Loading in...5
×
 

Quick and easy way to get started with Git & GitHub

on

  • 2,251 views

(This is a session planned to be taken in Coimbatore .Net User Group(dotnetcbe.com) on sunday 13-oct-2013) ...

(This is a session planned to be taken in Coimbatore .Net User Group(dotnetcbe.com) on sunday 13-oct-2013)
In this session I will talk about the simplest and quickest set of steps needed for getting started in Git & GitHub.

- I will talk a little about the concepts of Git & GitHub
- How to use “GitHub for Windows” and setup a GitHub based distributed source control system
- How Open Source projects on GitHub works

Statistics

Views

Total Views
2,251
Views on SlideShare
566
Embed Views
1,685

Actions

Likes
0
Downloads
0
Comments
0

5 Embeds 1,685

http://codesmiles.com 1654
http://feeds.feedburner.com 28
http://translate.googleusercontent.com 1
http://10.70.141.85 1
http://silverreader.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • https://help.github.com/articles/using-pull-requests
  • https://help.github.com/articles/using-pull-requests

Quick and easy way to get started with Git & GitHub Quick and easy way to get started with Git & GitHub Presentation Transcript

  • Ashoka R K T Accompanying text article at http://c-smil.es/githubarticle Quick and easy way to get started with Git & Github blog: codeSmiles.com @ashoka_rkt
  • Intro • Git is DRCS – Distributed Revision Control System • Git is fast • Created by the Linux team • This session will mostly focus on GitHub
  • Why Distributed? • Each clone is a repository, it contains all the code and version history • Repository is present in all clients when it is cloned, so server crash doesn’t affect much • Each client is a backup of the server’s repository, which also contains file version history
  • GUI vs CUI • GUI is simple with GitHub for Windows or • CUI is complex, like: $ git clone git://github.com/ashoka_rkt/dir
  • The Git & GitHub Jargon • pull • push • Git’s commit vs conventional check in • staged changes • clone • fork • pull request • pull vs pull-request • merge pull-request to main repo
  • Git Repository • Repository  Project • Your files will be here • Local repository & online repository • In GitHub it is present online • Another such site called BitBucket, has free private repositories
  • Creating Repositories
  • Creating Repositories
  • Setting up your system
  • Setting up your system
  • Setting up your system
  • Setting up your system
  • Setting up your system
  • Setting up your system
  • Setting up your system
  • Setting up your system
  • Setting up your system
  • Setting up your system
  • Setting up your system
  • Making changes to your local repo
  • Committing changes to your local repo
  • Publishing/Pushing changes to GitHub
  • Files pushed to GitHub
  • Publish & Sync Vs. Push & Pull
  • General Collaborative Development • Shared single repository with access permissions • You can push and pull
  • Collaborative Development in Public repos/Open Source projects -Fork & Pull Requests Overview- Your version of Main Repo’s files created (Your Fork) Main Repo (Source Repo) Fork Review Pull Requests & Merge 1 2 4 Make Changes (Add/modify files) & commit changes You Send Pull Request (Goes to Main Repo admin) 3 Main Repo Admin You You
  • Collaborative Development in Public repos/Open Source projects • Fork – Makes your own repo called a fork – Freedom to change – Isolated • Push(in this context) – You push your changes to your repo(your fork) • Pull Request – You send pull request to main repo admin – Main Repo admin reviews the code changes and accepts & merges your pull request
  • Misc. GitHub Stuff • Your email is associated with your commits • Can hide email for privacy
  • Thank You Please provide feedback on http://bit.ly/githubsession Accompanying text article at : http://c-smil.es/githubarticle blog: @ashoka_rkt codeSmiles.com