Intro

to

 

Mohd Maqbool Alam

About Me

Hello! I'm

 

  • http://www.maqbool.net

  • https://github.com/m13m

  • https://twitter.com/mohdmaqboolalam

Background

  • Original Authour : Linus Torvalds

  • Initial Release : 7 April 2005

  • Final Release : 24 Feb 2017

  • Current Maintainer : Junio Hamano & Others

  • Type : Version Control

  • Platform : Cross Platform(POSIX, Linux, Windows & Mac OS)

  • Website : https://git-scm.com 

What is Git?

Git is an OpenSource distributed version control system which is designed for speed and efficiency.

Installation

 

Linux(Ubuntu) :      $ sudo apt-get install git        

Windows :    https://git-scm.com/downloads/

Mac OS :        $ brew install git              

A Basic Workflow

~/.gitconfig

$ git config --global user.name "Foobar"              

$git config --global user.email "barfoo@gmail.com"

                                               

[push]                                                
        default = simple
[user]                                                
        name = Foobar
        email = barfoo@gmail.com

 

The Git Directory

$ git init

       initialize an empty repo

  1. $ mkdir testrepo

  2. $ cd testrepo

  3. $ touch README.md

  4. $ git init

$ git status

$ git add

$ git commit

$ git log

Branching & Merge

Remote Repository

Resources

  • git-scm.com

  • gitcasts.com

  • learn.github.com

  • #git / #github on IRC

introduction to git

By Mohd Maqbool Alam

introduction to git

Git is VCS this talk is an introductory talk about git.

  • 686