Skip to content

Instantly share code, notes, and snippets.

GIT CHEAT SHEET
git status -
A view of what you're working on. Shows whats files staged to checkin, and whats not yet been staged.
gitk / menu option "start gui" -
A graphical UI for reviewing current changes and staging them for checkin
git diff
Shows changes between current source tree and what is staged for commit
/*
To avoid polluting the global namespace this uses an anonymous
function which is called with either the URL for an external
JavaScript file or a function. In either case jQuery will be loaded
from the Google CDN before your code is executed so it's free to
depend on jQuery without checking for it and can do things like
jQuery.getScript() to load other components (e.g. jQuery UI),
stylesheets, etc.
*/
(function (target, msg) {