Skip to content

Instantly share code, notes, and snippets.

@jccarbonfive
Created October 9, 2011 04:16
Show Gist options
  • Select an option

  • Save jccarbonfive/1273285 to your computer and use it in GitHub Desktop.

Select an option

Save jccarbonfive/1273285 to your computer and use it in GitHub Desktop.
$ git diff --cached
diff --git a/foo.rb b/foo.rb
index c1590ba..33c40b2 100644
--- a/foo.rb
+++ b/foo.rb
@@ -1,10 +1,10 @@
class Foo
def bar
- puts 'bar'
+ puts 'BAR'
end
def baz
- puts 'baz'
+ puts 'BAZ'
end
private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment