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

Git VCS - Talk @PHP User Group Malang, March 9 2015

Git VCS - Talk @PHP User Group Malang, March 9 2015

Git - Open Source, Distributed, Speedy, and Efficient version manager.

Achmad Mahardi

March 09, 2015
Tweet

More Decks by Achmad Mahardi

Other Decks in Programming

Transcript

  1. msysgit   built-in / brew  install  git  

    apt-­‐get  install  git  /  yum  install  git pkg_add  -­‐r  git via ports /  donlot source, kompel dewe
  2. git  config  -­‐-­‐global  user.name  "..."   git  config  -­‐-­‐global  user.email

     "..." git  config  user.name  "..."   git  config  user.email  "..." ~
  3. *gitignore •  curl  -­‐L  -­‐s  https:// www.gitignore.io/api/ $LANG   •

    binary files • autogenerated files • autogenerated folders
  4. *merge vs rebase • merge = direct merging • rebase

    = prevent unnecessary git  config  -­‐-­‐global  branch.autosetuprebase  always
  5. *github • fast-forward merge otomatis • close issues via commit

    message • integration (travis, scrutinizer, slack, ...)
  6. • sering sering commit & resync • three-tier development (dev,

    staging, prod). • patuhi commit convention / buat commit convention u/ team. • gitignore, .gitignore, .gitignore
  7. &