Created
October 9, 2011 03:41
-
-
Save jccarbonfive/1273243 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git add -p | |
| diff --git a/foo.rb b/foo.rb | |
| index 5a90c2b..c1590ba 100644 | |
| --- a/foo.rb | |
| +++ b/foo.rb | |
| @@ -3,9 +3,17 @@ class Foo | |
| puts 'bar' | |
| end | |
| + def baz | |
| + puts 'baz' | |
| + end | |
| + | |
| private | |
| def qux | |
| puts 'qux' | |
| end | |
| + | |
| + def quux | |
| + puts 'quux' | |
| + end | |
| end | |
| Stage this hunk [y,n,q,a,d,/,s,e,?]? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment