$ git diff HEAD^..HEAD
diff --git a/example.rb b/example.rb
index 9c145d2..a5d3df4 100644
--- a/example.rb
+++ b/example.rb
@@ -2,7 +2,7 @@ class Example
   def method
-    puts "One thing"
+    puts "Different thing"
   end
          Last active
          November 5, 2018 08:59 
        
      - 
      
- 
        Save carlesjove/f9da25e0e27634f6494427d985d282eb to your computer and use it in GitHub Desktop. 
    Useful Git commands
  
        
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment