Skip to content

Instantly share code, notes, and snippets.

View danascheider's full-sized avatar

Dana Scheider danascheider

View GitHub Profile
@danascheider
danascheider / git-log-output
Created May 19, 2021 23:38
git log output
commit be3adf0049279b757c3e88815186abbecb2c44ef (HEAD -> reset-branch)
Author: Dana Scheider <dana.scheider@example.com>
Date: Thu May 20 09:20:26 2021 +1000
Say goodbye
commit 91810345d39fe43382e6a0c9876a9cc3a13f7eb8 (master)
Author: Dana Scheider <dana.scheider@example.com>
Date: Thu May 20 08:58:04 2021 +1000
@danascheider
danascheider / git-log-output
Created May 19, 2021 23:31
git log output
commit 79a04e75bbe32e4d468ddcf6baf7f019f7b1bdcf (HEAD -> reset-branch)
Author: Dana Scheider <dana.scheider@example.com>
Date: Thu May 20 09:29:58 2021 +1000
Take user input for who to say goodbye to
commit be3adf0049279b757c3e88815186abbecb2c44ef
Author: Dana Scheider <dana.scheider@example.com>
Date: Thu May 20 09:20:26 2021 +1000
puts 'Please enter a name:'
name = gets
puts 'Goodbye, cruel ' + name + '!'
@danascheider
danascheider / git-log-output
Created May 19, 2021 23:02
git log output
commit 91810345d39fe43382e6a0c9876a9cc3a13f7eb8 (HEAD -> master)
Author: Dana Scheider <dana.scheider@example.com>
Date: Thu May 20 08:58:04 2021 +1000
Revert "Nuke it all"
This reverts commit d1b642bee62736cfd9d6b1d9061b61b875dda84b.
commit d1b642bee62736cfd9d6b1d9061b61b875dda84b
Author: Dana Scheider <dana.scheider@example.com>
@danascheider
danascheider / git-revert-output
Created May 19, 2021 23:00
git revert output
[master 9181034] Revert "Nuke it all"
1 file changed, 3 insertions(+)
create mode 100644 hello_world.rb
@danascheider
danascheider / git-log-output
Created May 19, 2021 22:53
git log output
commit d1b642bee62736cfd9d6b1d9061b61b875dda84b (HEAD -> master)
Author: Dana Scheider <dana.scheider@example.com>
Date: Thu May 20 08:50:27 2021 +1000
Nuke it all
commit 5f38523834974144ef6b4685fc204f6984ad64c4
Author: Dana Scheider <dana.scheider@example.com>
Date: Wed May 19 17:04:47 2021 +1000
@danascheider
danascheider / git-status-output
Created May 19, 2021 22:50
git status output
[master d1b642b] Nuke it all
1 file changed, 3 deletions(-)
delete mode 100644 hello_world.rb
@danascheider
danascheider / git-status-output
Created May 19, 2021 22:46
git status output
On branch master
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
deleted: hello_world.rb
@danascheider
danascheider / git-status-output
Created May 19, 2021 22:34
git-status-output
On branch master
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: goodbye_cruel_world.rb
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
deleted: goodbye_cruel_world.rb
@danascheider
danascheider / git-status-output
Created May 19, 2021 22:32
git status output
On branch master
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: goodbye_cruel_world.rb