Created
November 14, 2017 18:26
-
-
Save tomatohammado/38a9aca4dd5f1aac0c73c986de6a1e44 to your computer and use it in GitHub Desktop.
WDI Week 1 Day 2: messing around with "thinking like a programmer" exercise
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
| Last login: Tue Nov 14 08:52:48 on ttys000 | |
| GAs-MacBook-Air:~ ga$ man rm | |
| GAs-MacBook-Air:~ ga$ ls | |
| Applications Downloads Movies Public test | |
| Desktop Dropbox Music fundamentals | |
| Documents Library Pictures ga | |
| GAs-MacBook-Air:~ ga$ cd fundamentals/ | |
| GAs-MacBook-Air:fundamentals ga$ git clone https://github.com/tomatohammado/wdi-fundamentals-memorygame.git | |
| Cloning into 'wdi-fundamentals-memorygame'... | |
| remote: Counting objects: 3, done. | |
| remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 | |
| Unpacking objects: 100% (3/3), done. | |
| GAs-MacBook-Air:fundamentals ga$ ls | |
| wdi-fundamentals-memorygame | |
| GAs-MacBook-Air:fundamentals ga$ ls | |
| wdi-fundamentals-memorygame | |
| GAs-MacBook-Air:fundamentals ga$ cd .. | |
| GAs-MacBook-Air:~ ga$ ls | |
| Applications Documents Dropbox Movies Pictures fundamentals test | |
| Desktop Downloads Library Music Public ga | |
| GAs-MacBook-Air:~ ga$ cd ga | |
| GAs-MacBook-Air:ga ga$ ls | |
| World | |
| GAs-MacBook-Air:ga ga$ git clone https://git.generalassemb.ly/ga-wdi-exercises/thinking_like_a_programmer.git | |
| Cloning into 'thinking_like_a_programmer'... | |
| remote: Counting objects: 11, done. | |
| remote: Compressing objects: 100% (10/10), done. | |
| remote: Total 11 (delta 1), reused 11 (delta 1), pack-reused 0 | |
| Unpacking objects: 100% (11/11), done. | |
| GAs-MacBook-Air:ga ga$ ls | |
| World thinking_like_a_programmer | |
| GAs-MacBook-Air:ga ga$ ls | |
| World thinking_like_a_programmer | |
| GAs-MacBook-Air:ga ga$ rm -r thinking_like_a_programmer/ | |
| override r--r--r-- ga/staff for thinking_like_a_programmer//.git/objects/50/ab126991b0b3ca9cc211ffa3c3d5346449a97c? ^C | |
| GAs-MacBook-Air:ga ga$ rm -rf thinking_like_a_programmer/ | |
| GAs-MacBook-Air:ga ga$ ls | |
| World | |
| GAs-MacBook-Air:ga ga$ git clone https://git.generalassemb.ly/ga-wdi-exercises/thinking_like_a_programmer.git | |
| Cloning into 'thinking_like_a_programmer'... | |
| remote: Counting objects: 18, done. | |
| remote: Compressing objects: 100% (13/13), done. | |
| remote: Total 18 (delta 5), reused 18 (delta 5), pack-reused 0 | |
| Unpacking objects: 100% (18/18), done. | |
| GAs-MacBook-Air:ga ga$ ls | |
| World thinking_like_a_programmer | |
| GAs-MacBook-Air:ga ga$ cd thinking_like_a_programmer/ | |
| GAs-MacBook-Air:thinking_like_a_programmer ga$ ls | |
| exercises readme.md | |
| GAs-MacBook-Air:thinking_like_a_programmer ga$ git checkout -b exercise_4_correction | |
| Switched to a new branch 'exercise_4_correction' | |
| GAs-MacBook-Air:thinking_like_a_programmer ga$ git status | |
| On branch exercise_4_correction | |
| nothing to commit, working tree clean | |
| GAs-MacBook-Air:thinking_like_a_programmer ga$ cd exercises/ | |
| GAs-MacBook-Air:exercises ga$ ls | |
| 12-identical-balls.md happy-handshaking.md sand-time.md swap-in-place.md | |
| GAs-MacBook-Air:exercises ga$ open happy-handshaking.md | |
| GAs-MacBook-Air:exercises ga$ git status | |
| On branch exercise_4_correction | |
| 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: happy-handshaking.md | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:exercises ga$ git add happy-handshaking.md | |
| GAs-MacBook-Air:exercises ga$ git status | |
| On branch exercise_4_correction | |
| Changes to be committed: | |
| (use "git reset HEAD <file>..." to unstage) | |
| modified: happy-handshaking.md | |
| GAs-MacBook-Air:exercises ga$ git commit -m "fixed typo in exercise, matches restated question in solution branch" | |
| [exercise_4_correction 15888c6] fixed typo in exercise, matches restated question in solution branch | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| GAs-MacBook-Air:exercises ga$ git push | |
| fatal: The current branch exercise_4_correction has no upstream branch. | |
| To push the current branch and set the remote as upstream, use | |
| git push --set-upstream origin exercise_4_correction | |
| GAs-MacBook-Air:exercises ga$ git push --set-upstream origin exercise_4_correction | |
| Username for 'https://git.generalassemb.ly': tomatohammado | |
| Password for 'https://[email protected]': | |
| remote: Permission to ga-wdi-exercises/thinking_like_a_programmer.git denied to tomatohammado. | |
| fatal: unable to access 'https://git.generalassemb.ly/ga-wdi-exercises/thinking_like_a_programmer.git/': The requested URL returned error: 403 | |
| GAs-MacBook-Air:exercises ga$ cd .. | |
| GAs-MacBook-Air:thinking_like_a_programmer ga$ ls | |
| exercises readme.md | |
| GAs-MacBook-Air:thinking_like_a_programmer ga$ cd .. | |
| GAs-MacBook-Air:ga ga$ ls | |
| World thinking_like_a_programmer | |
| GAs-MacBook-Air:ga ga$ rm -rf thinking_like_a_programmer/ | |
| GAs-MacBook-Air:ga ga$ ls | |
| World | |
| GAs-MacBook-Air:ga ga$ git clone https://git.generalassemb.ly/tomatohammado/thinking_like_a_programmer.git | |
| Cloning into 'thinking_like_a_programmer'... | |
| remote: Counting objects: 18, done. | |
| remote: Compressing objects: 100% (13/13), done. | |
| remote: Total 18 (delta 5), reused 18 (delta 5), pack-reused 0 | |
| Unpacking objects: 100% (18/18), done. | |
| GAs-MacBook-Air:ga ga$ ls | |
| World thinking_like_a_programmer | |
| GAs-MacBook-Air:ga ga$ cd thinking_like_a_programmer/exercises/ | |
| GAs-MacBook-Air:exercises ga$ ls | |
| 12-identical-balls.md happy-handshaking.md sand-time.md swap-in-place.md | |
| GAs-MacBook-Air:exercises ga$ open . | |
| GAs-MacBook-Air:exercises ga$ open . | |
| GAs-MacBook-Air:exercises ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/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: happy-handshaking.md | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:exercises ga$ git add happy-handshaking.md | |
| GAs-MacBook-Air:exercises ga$ git commit -m "fixed typo in exercise 4 happy-handshaking.md - now matches restated question in the solution branch" | |
| [master dade15e] fixed typo in exercise 4 happy-handshaking.md - now matches restated question in the solution branch | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| GAs-MacBook-Air:exercises ga$ git push | |
| Username for 'https://git.generalassemb.ly': tomatohammado | |
| Password for 'https://[email protected]': | |
| remote: Invalid username or password. | |
| fatal: Authentication failed for 'https://git.generalassemb.ly/tomatohammado/thinking_like_a_programmer.git/' | |
| GAs-MacBook-Air:exercises ga$ git push | |
| Username for 'https://git.generalassemb.ly': tomatohammado | |
| Password for 'https://[email protected]': | |
| Counting objects: 4, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (4/4), done. | |
| Writing objects: 100% (4/4), 446 bytes | 446.00 KiB/s, done. | |
| Total 4 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/thinking_like_a_programmer.git | |
| 1503576..dade15e master -> master | |
| GAs-MacBook-Air:exercises ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| nothing to commit, working tree clean | |
| GAs-MacBook-Air:exercises ga$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment