Skip to content

Instantly share code, notes, and snippets.

@tomatohammado
Created December 4, 2017 23:43
Show Gist options
  • Select an option

  • Save tomatohammado/dcca60728bb91220508b24e0fedc045c to your computer and use it in GitHub Desktop.

Select an option

Save tomatohammado/dcca60728bb91220508b24e0fedc045c to your computer and use it in GitHub Desktop.
WDI Week 1: finishing css-airbnb
Last login: Fri Dec 1 18:14:23 on console
~
$ cd dev/ga-wdi/
~/dev/ga-wdi
$ ls
class-work labs projects sandbox vestibule-fundamentals
~/dev/ga-wdi
$ cd labs/
~/dev/ga-wdi/labs
$ ls
portfolio-lab
~/dev/ga-wdi/labs
$ cd portfolio-lab/
~/dev/ga-wdi/labs/portfolio-lab
$ ls
tomatohammado.github.io
~/dev/ga-wdi/labs/portfolio-lab
$ cd tomatohammado.github.io/
~/dev/ga-wdi/labs/portfolio-lab/tomatohammado.github.io (master)
$ code .
~/dev/ga-wdi/labs/portfolio-lab/tomatohammado.github.io (master)
$ 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: README.md
no changes added to commit (use "git add" and/or "git commit -a")
~/dev/ga-wdi/labs/portfolio-lab/tomatohammado.github.io (master *)
$ git add README.md
~/dev/ga-wdi/labs/portfolio-lab/tomatohammado.github.io (master +)
$ git commit
[master 9d6c44a] Add content to README.md
1 file changed, 12 insertions(+), 1 deletion(-)
~/dev/ga-wdi/labs/portfolio-lab/tomatohammado.github.io (master)
$ git push
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 517 bytes | 129.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/tomatohammado/tomatohammado.github.io.git
3f5fd30..9d6c44a master -> master
~/dev/ga-wdi/labs/portfolio-lab/tomatohammado.github.io (master)
$ git add README.md
~/dev/ga-wdi/labs/portfolio-lab/tomatohammado.github.io (master +)
$ git commit
[master 47660f5] Fix header markdown
1 file changed, 3 insertions(+), 3 deletions(-)
~/dev/ga-wdi/labs/portfolio-lab/tomatohammado.github.io (master)
$ git push
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 418 bytes | 418.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To https://github.com/tomatohammado/tomatohammado.github.io.git
9d6c44a..47660f5 master -> master
~/dev/ga-wdi/labs/portfolio-lab/tomatohammado.github.io (master)
$ cd ../../../..
~/dev
$ cd ga-wdi/
~/dev/ga-wdi
$ ls
class-work labs projects sandbox vestibule-fundamentals
~/dev/ga-wdi
$ cd class-work/
~/dev/ga-wdi/class-work
$ ls
week-1
~/dev/ga-wdi/class-work
$ cd week-1/
~/dev/ga-wdi/class-work/week-1
$ ls
css-airbnb haiku to_oz wendy_bite
~/dev/ga-wdi/class-work/week-1
$ cd css-airbnb/
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ code .
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ 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: index.html
no changes added to commit (use "git add" and/or "git commit -a")
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git add index.html
~/dev/ga-wdi/class-work/week-1/css-airbnb (master +)
$ git commit
[master f21ad05] Add Weekend Recommendations markup, modify class names
1 file changed, 17 insertions(+), 5 deletions(-)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git push
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 459 bytes | 153.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
To git.generalassemb.ly:tomatohammado/css-airbnb.git
7788675..f21ad05 master -> master
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git add index.html
~/dev/ga-wdi/class-work/week-1/css-airbnb (master +)
$ git commit
[master 73b6ab6] Modify classes
1 file changed, 8 insertions(+), 8 deletions(-)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git add index.html
~/dev/ga-wdi/class-work/week-1/css-airbnb (master +)
$ git commit
[master 18b5125] Add section buttons, edit classes
1 file changed, 7 insertions(+)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git push
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 742 bytes | 742.00 KiB/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4), completed with 2 local objects.
To git.generalassemb.ly:tomatohammado/css-airbnb.git
f21ad05..18b5125 master -> master
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ 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: css/style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git add css/style.css
~/dev/ga-wdi/class-work/week-1/css-airbnb (master +)
$ git commit
[master b61e7e5] Add style, main and main > section
1 file changed, 11 insertions(+)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
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: css/style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git add css/style.css
~/dev/ga-wdi/class-work/week-1/css-airbnb (master +)
$ git commit
[master ecb4506] Add destination styles, still need to add background images
1 file changed, 28 insertions(+)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 2 commits.
(use "git push" to publish your local commits)
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: css/style.css
modified: index.html
no changes added to commit (use "git add" and/or "git commit -a")
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git add index.html
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *+)
$ git commit
[master c074157] Fix typos, edit classes
1 file changed, 8 insertions(+), 8 deletions(-)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git add css/style.css
~/dev/ga-wdi/class-work/week-1/css-airbnb (master +)
$ git commit
[master 6548afa] Add destination styles, including background-images
1 file changed, 13 insertions(+)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git push
Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (15/15), 1.73 KiB | 442.00 KiB/s, done.
Total 15 (delta 7), reused 0 (delta 0)
remote: Resolving deltas: 100% (7/7), completed with 2 local objects.
To git.generalassemb.ly:tomatohammado/css-airbnb.git
18b5125..6548afa master -> master
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ 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: css/style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git add css/style.css
~/dev/ga-wdi/class-work/week-1/css-airbnb (master +)
$ git commit
[master 4c06674] Add .weekend-recommendations .destination background-images, added background-position:center to .destinations
1 file changed, 13 insertions(+)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
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: css/style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
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: css/style.css
modified: index.html
no changes added to commit (use "git add" and/or "git commit -a")
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git add index.html
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *+)
$ git commit
[master f4dc5be] Comment out h1
1 file changed, 2 insertions(+), 1 deletion(-)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git add css/style.css
~/dev/ga-wdi/class-work/week-1/css-airbnb (master +)
$ git commit
[master 5e8f769] Finish styles
1 file changed, 43 insertions(+), 6 deletions(-)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git push
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 1.86 KiB | 476.00 KiB/s, done.
Total 11 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6), completed with 3 local objects.
To git.generalassemb.ly:tomatohammado/css-airbnb.git
6548afa..5e8f769 master -> master
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git tag -a v1.0 -m "MVP"
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git tag -l
v1.0
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git tag --push
error: unknown option `push'
usage: git tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] <tagname> [<head>]
or: git tag -d <tagname>...
or: git tag -l [-n[<num>]] [--contains <commit>] [--no-contains <commit>] [--points-at <object>]
[--format=<format>] [--[no-]merged [<commit>]] [<pattern>...]
or: git tag -v [--format=<format>] <tagname>...
-l, --list list tag names
-n[<n>] print <n> lines of each tag message
-d, --delete delete tags
-v, --verify verify tags
Tag creation options
-a, --annotate annotated tag, needs a message
-m, --message <message>
tag message
-F, --file <file> read message from file
-s, --sign annotated and GPG-signed tag
--cleanup <mode> how to strip spaces and #comments from message
-u, --local-user <key-id>
use another key to sign the tag
-f, --force replace the tag if exists
--create-reflog create a reflog
Tag listing options
--column[=<style>] show tag list in columns
--contains <commit> print only tags that contain the commit
--no-contains <commit>
print only tags that don't contain the commit
--merged <commit> print only tags that are merged
--no-merged <commit> print only tags that are not merged
--sort <key> field name to sort on
--points-at <object> print only tags of the object
--format <format> format to use for the output
--color[=<when>] respect format colors
-i, --ignore-case sorting and filtering are case insensitive
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git push --tags
Counting objects: 1, done.
Writing objects: 100% (1/1), 160 bytes | 160.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0)
To git.generalassemb.ly:tomatohammado/css-airbnb.git
* [new tag] v1.0 -> v1.0
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ 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: css/style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/dev/ga-wdi/class-work/week-1/css-airbnb (master *)
$ git add css/style.css
~/dev/ga-wdi/class-work/week-1/css-airbnb (master +)
$ git commit
[master 5d6d918] Increase h2 size
1 file changed, 1 insertion(+)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git push
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 420 bytes | 140.00 KiB/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
To git.generalassemb.ly:tomatohammado/css-airbnb.git
5e8f769..5d6d918 master -> master
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git tag -r v1.0
error: unknown switch `r'
usage: git tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] <tagname> [<head>]
or: git tag -d <tagname>...
or: git tag -l [-n[<num>]] [--contains <commit>] [--no-contains <commit>] [--points-at <object>]
[--format=<format>] [--[no-]merged [<commit>]] [<pattern>...]
or: git tag -v [--format=<format>] <tagname>...
-l, --list list tag names
-n[<n>] print <n> lines of each tag message
-d, --delete delete tags
-v, --verify verify tags
Tag creation options
-a, --annotate annotated tag, needs a message
-m, --message <message>
tag message
-F, --file <file> read message from file
-s, --sign annotated and GPG-signed tag
--cleanup <mode> how to strip spaces and #comments from message
-u, --local-user <key-id>
use another key to sign the tag
-f, --force replace the tag if exists
--create-reflog create a reflog
Tag listing options
--column[=<style>] show tag list in columns
--contains <commit> print only tags that contain the commit
--no-contains <commit>
print only tags that don't contain the commit
--merged <commit> print only tags that are merged
--no-merged <commit> print only tags that are not merged
--sort <key> field name to sort on
--points-at <object> print only tags of the object
--format <format> format to use for the output
--color[=<when>] respect format colors
-i, --ignore-case sorting and filtering are case insensitive
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git tag -d v1.0
Deleted tag 'v1.0' (was 7d49044)
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git tag -a v1.0 -m "MVP"
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git push --tags
To git.generalassemb.ly:tomatohammado/css-airbnb.git
! [rejected] v1.0 -> v1.0 (already exists)
error: failed to push some refs to '[email protected]:tomatohammado/css-airbnb.git'
hint: Updates were rejected because the tag already exists in the remote.
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ git push --tags
Counting objects: 1, done.
Writing objects: 100% (1/1), 161 bytes | 161.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0)
To git.generalassemb.ly:tomatohammado/css-airbnb.git
* [new tag] v1.0 -> v1.0
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$ gl
* 5d6d918 (HEAD -> master, tag: v1.0, origin/master, origin/HEAD) 2 minutes ago Hammad Malik
| Increase h2 size
* 5e8f769 6 minutes ago Hammad Malik
| Finish styles
* f4dc5be 8 minutes ago Hammad Malik
| Comment out h1
* 4c06674 4 hours ago Hammad Malik
| Add .weekend-recommendations .destination background-images, added
| background-position:center to .destinations
* 6548afa 4 hours ago Hammad Malik
| Add destination styles, including background-images
* c074157 4 hours ago Hammad Malik
| Fix typos, edit classes
* ecb4506 5 hours ago Hammad Malik
| Add destination styles, still need to add background images
* b61e7e5 5 hours ago Hammad Malik
| Add style, main and main > section
* 18b5125 5 hours ago Hammad Malik
| Add section buttons, edit classes
* 73b6ab6 5 hours ago Hammad Malik
| Modify classes
* f21ad05 5 hours ago Hammad Malik
| Add Weekend Recommendations markup, modify class names
* 7788675 3 days ago Hammad Malik
| Add prelimary markup to body
* 4e1a083 3 days ago Hammad Malik
| Add Cabin font family to body
* 97263ab 3 days ago Hammad Malik
| Add body background color, correct h1 color to match airbnb.com
~/dev/ga-wdi/class-work/week-1/css-airbnb (master)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment