Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save jccarbonfive/1273280 to your computer and use it in GitHub Desktop.
# Manual hunk edit mode -- see bottom for a quick guide
@@ -1,18 +1,16 @@
class Foo
def bar
- puts 'bar'
+ puts 'BAR'
end
·
def baz
- puts 'baz'
+ puts 'BAZ'
end
·
private
·
def qux
puts 'qux'
end
·
def quux
puts 'quux'
end
# ---
# To remove '-' lines, make them ' ' lines (context).
# To remove '+' lines, delete them.
# Lines starting with # will be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment