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 M
aintainer
: 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
$ mkdir testrepo
$ cd testrepo
$ touch README.md
$ 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
Made with Slides.com