Introduction for GIT
Rumesh Eranga Hapuarachchi
The partner of choice for ISV's
Group Projects
The partner of choice for ISV's
Version Control System
“An application that allows you to record changes to your
codebase in a structured and controlled fashion.”
The partner of choice for ISV's
Why?
> Makes it way easier to undo errors / roll back to earlier
versions of code
> Makes it way easier to share a codebase between
developers without creating conflicts
> Makes it way easier to deploy changes from development
to staging or production environments
The partner of choice for ISV's
Available Version Control Systems
The partner of choice for ISV's
GIT
> Distributed Source Control system
> Open source, free (GNU GPL V2)
> Originally developed by Linus Torvalds
> Used on personal or very large projects, and for all size of
teams
The partner of choice for ISV's
Demo
The partner of choice for ISV's
Branching
The partner of choice for ISV's
Github
> It’s a Git repository hosting service
> GitHub provides a web-based graphical interface
> Provides access control and several collaboration features,
such as wikis and basic task management tools

Introduction to Git

  • 1.
    Introduction for GIT RumeshEranga Hapuarachchi
  • 2.
    The partner ofchoice for ISV's Group Projects
  • 3.
    The partner ofchoice for ISV's Version Control System “An application that allows you to record changes to your codebase in a structured and controlled fashion.”
  • 4.
    The partner ofchoice for ISV's Why? > Makes it way easier to undo errors / roll back to earlier versions of code > Makes it way easier to share a codebase between developers without creating conflicts > Makes it way easier to deploy changes from development to staging or production environments
  • 5.
    The partner ofchoice for ISV's Available Version Control Systems
  • 6.
    The partner ofchoice for ISV's GIT > Distributed Source Control system > Open source, free (GNU GPL V2) > Originally developed by Linus Torvalds > Used on personal or very large projects, and for all size of teams
  • 7.
    The partner ofchoice for ISV's Demo
  • 8.
    The partner ofchoice for ISV's Branching
  • 9.
    The partner ofchoice for ISV's Github > It’s a Git repository hosting service > GitHub provides a web-based graphical interface > Provides access control and several collaboration features, such as wikis and basic task management tools

Editor's Notes

  • #2 git init create readme git statu s git add readme.txt change and commit without -m change and commit with -m git log for commit history add multiple files with git add . / git add *.html git ignore: add a log file git status create .gitignore : use touch *.log add git igonre branching git branch mybranch git checkout mybranch add files commit switch to master git merge mybranch git -a -m 'asdasda' // automatically stage, unstage files wont add conflict solve and merge git mergetool github git remote add origin https://github.com/rehrumesh/test.git git push -u origin master