Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to GIT

Introduction to GIT

landish

March 06, 2015
Tweet

More Decks by landish

Other Decks in Programming

Transcript

  1. Branches Default branch name is master Create or copy unlimited

    branches Create new branch = Copy master branch Merge some branch to master
  2. Ignoring Files - Create .gitignore file on ROOT directory -

    Add files/directories line by line Example: example.html images/* .idea/* ( Specific for PHPStorm Editor )
  3. Pull & Push Command: git push -u origin master git

    pull Pull - Download from GIT Server Push - Upload to GIT Server
  4. How to Install? Windows - http://msysgit.github.io/ OSX ( Requires Xcode

    ) - https://code.google.com/p/git-osx-installer/ Linux - Install Windows or Buy Mac
  5. Resources GIT Essentials ( Premium Video Course ) - https://tutsplus.com/course/git-essentials/

    GIT Cheat Sheet ( PDF/PNG ) - http://git-tower.com/blog/git-cheat-sheet-detail/ Sourcetree App - http://www.sourcetreeapp.com/
  6. Resources How to setup Visual Studio with BitBucket using Git

    Extensions - http://goo.gl/pIQtv1 How to Configure BitBucket Git Repository in you Eclipse? - http://goo.gl/Pp5uYE