This file contains 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
-bash-4.2$ git status | |
# On branch master | |
# Untracked files: | |
# (use "git add <file>..." to include in what will be committed) | |
# | |
# say_hi.rb | |
nothing added to commit but untracked files present (use "git add" to track) | |
-bash-4.2$ git commit -m 'Added say_hi.rb' | |
[master d59ea45] Added say_hi.rb | |
1 file changed, 5 insertions(+) | |
create mode 100755 say_hi.rb | |
-bash-4.2$ git status | |
# On branch master | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committ | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: say_hi.rb | |
# | |
# Untracked files: | |
# (use "git add <file>..." to include in what will be committed) | |
# | |
# talk.rb | |
-bash-4.2$ git add . | |
-bash-4.2$ git status | |
# On branch master | |
# Changes to be committed: | |
# (use "git reset HEAD <file>..." to unstage) | |
# | |
# modified: say_hi.rb | |
# new file: talk.rb | |
# | |
-bash-4.2$ git commit -m 'modularize say_hi.rb by adding talk.rb' | |
[master 99e2465] modularize say_hi.rb by adding talk.rb | |
2 files changed, 4 insertions(+), 3 deletions(-) | |
create mode 100755 talk.rb | |
-bash-4.2$ git status | |
# On branch master | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: say_hi.rb | |
# modified: talk.rb | |
# | |
-bash-4.2$ git add . | |
-bash-4.2$ git status | |
# On branch master | |
# Changes to be committed: | |
# (use "git reset HEAD <file>..." to unstage) | |
# | |
# modified: say_hi.rb | |
# modified: talk.rb | |
# | |
-bash-4.2$ git commit -m 'Added namespace Talk to talk.rb' | |
[master 76a883c] Added namespace Talk to talk.rb | |
2 files changed, 5 insertions(+), 3 deletions(-) | |
-bash-4.2$ git status | |
# On branch master | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: say_hi.rb | |
# modified: talk.rb | |
# | |
-bash-4.2$ git add . | |
-bash-4.2$ git status | |
# On branch master | |
# Changes to be committed: | |
# (use "git reset HEAD <file>..." to unstage) | |
# | |
# modified: say_hi.rb | |
# modified: talk.rb | |
# | |
-bash-4.2$ git commit -m 'Test whether pass-by-value is true' | |
[master d2e14ee] Test whether pass-by-value is true | |
2 files changed, 5 insertions(+), 2 deletions(-) | |
-bash-4.2$ git status | |
# On branch master | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment