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

15-437 Web development tools

15-437 Web development tools

ThierrySans

January 21, 2016
Tweet

More Decks by ThierrySans

Other Decks in Programming

Transcript

  1. Usage Check a specific file $ jshint app/myscript.js/
 Check a

    directory $ jshint app 
 Check this JSHint cheatsheet: http://ricostacruz.com/cheatsheets/jshint.html
  2. Usage Create a bower.json config file for your project (first

    time only) $ bower init Install a component (e.g. jQuery) and save it to bower.json $ bower install jQuery --save
  3. The essentials Clone a new repository $ git clone https://github.com/CarnegieMellonQatar/15-437.git

    Update local files $ git pull Pushing files to the server $ git add example/file $ git rm example/file $ git commit -m “here is what changed” $ git push
  4. Advanced concepts - Branching $ git branch https://www.youtube.com/watch?v=H5GJfcp3p4Q&list=PL0lo9MOBetEHhfG9vJzVCTiDYcbhAiEqL&index=2 $ git

    checkout https://www.youtube.com/watch?v=HwrPhOp6-aM&list=PL0lo9MOBetEHhfG9vJzVCTiDYcbhAiEqL&index=1 $ git merge https://www.youtube.com/watch?v=yyLiplDQtf0&list=PL0lo9MOBetEHhfG9vJzVCTiDYcbhAiEqL&index=12
  5. Advanced concepts - Forking (specific to GitHub) Forking https://www.youtube.com/watch?v=5oJHRbqEofs Pull

    request https://www.youtube.com/watch?v=d5wpJ5VimSU&index=19&list=PLg7s6cbtAD15G8lNyoaYDuKZSKyJrgwB-