Skip to content

Instantly share code, notes, and snippets.

@tomatohammado
Created November 30, 2017 14:06
Show Gist options
  • Select an option

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

Select an option

Save tomatohammado/e907205d1d7d33e8e44cc5d29ffe0748 to your computer and use it in GitHub Desktop.
WDI Week 1 HW: Wendy Bite
$ cd ga-wdi/class-work/week-1/
~/ga-wdi/class-work/week-1
$ git clone [email protected]:tomatohammado/wendy_bite.git
Cloning into 'wendy_bite'...
remote: Counting objects: 58, done.
remote: Total 58 (delta 0), reused 0 (delta 0), pack-reused 58
Receiving objects: 100% (58/58), 409.93 KiB | 1.33 MiB/s, done.
Resolving deltas: 100% (24/24), done.
~/ga-wdi/class-work/week-1
$ code .
~/ga-wdi/class-work/week-1
$ cd wendy_bite/
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ touch style.css
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git status
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
style.css
nothing added to commit but untracked files present (use "git add" to track)
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git add style.css
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Create style.css"
[master b5b787d] Create style.css
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 style.css
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ open index.html
~/ga-wdi/class-work/week-1/wendy_bite (master *)
$ git add style.css
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Test style.css working"
[master a2a4115] Test style.css working
1 file changed, 3 insertions(+)
~/ga-wdi/class-work/week-1/wendy_bite (master)
$
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git push
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (6/6), 529 bytes | 529.00 KiB/s, done.
Total 6 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), completed with 1 local object.
To git.generalassemb.ly:tomatohammado/wendy_bite.git
53b543b..a2a4115 master -> master
~/ga-wdi/class-work/week-1/wendy_bite (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
modified: style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/ga-wdi/class-work/week-1/wendy_bite (master *)
$ git add style.css
~/ga-wdi/class-work/week-1/wendy_bite (master *+)
$ git commit -m "Add basic style to body
>
> background-color and color"
[master d187b1f] Add basic style to body
1 file changed, 3 insertions(+), 2 deletions(-)
~/ga-wdi/class-work/week-1/wendy_bite (master *)
$ git add index.html
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Add google fonts"
[master df7d7be] Add google fonts
1 file changed, 1 insertion(+)
~/ga-wdi/class-work/week-1/wendy_bite (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), 694 bytes | 115.00 KiB/s, done.
Total 6 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3), completed with 2 local objects.
To git.generalassemb.ly:tomatohammado/wendy_bite.git
a2a4115..df7d7be master -> master
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git add .
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Start style header
>
> added lighter font weight from google fonts. centered text, styled h1"
[master e7ed3e0] Start style header
2 files changed, 11 insertions(+), 1 deletion(-)
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git add index.html
~/ga-wdi/class-work/week-1/wendy_bite (master *+)
$ git commit -m "Add font-weight from google font and HTML entities for accent mark e
>
>
~/ga-wdi/class-work/week-1/wendy_bite (master *+)
$ git commit -m "Add font-weight from google font and HTML entities for accent mark e"
[master 249267b] Add font-weight from google font and HTML entities for accent mark e
1 file changed, 3 insertions(+), 3 deletions(-)
~/ga-wdi/class-work/week-1/wendy_bite (master *)
$ git add style.css
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Add style for header nav, including <a> and a.active"
[master 7f3670a] Add style for header nav, including <a> and a.active
1 file changed, 15 insertions(+)
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git push
Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 1.13 KiB | 576.00 KiB/s, done.
Total 10 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6), completed with 2 local objects.
To git.generalassemb.ly:tomatohammado/wendy_bite.git
df7d7be..7f3670a master -> master
~/ga-wdi/class-work/week-1/wendy_bite (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: style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/ga-wdi/class-work/week-1/wendy_bite (master *)
$ git add style.css
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Add body style
>
> border, margin, and padding"
[master 9c65473] Add body style
1 file changed, 3 insertions(+)
~/ga-wdi/class-work/week-1/wendy_bite (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: style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/ga-wdi/class-work/week-1/wendy_bite (master *)
$ git add style.css
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Fix header styles
>
> - removed top padding on body
> - flipped colors of header nav a and a.active
> - adjusted header spacing"
[master b02de26] Fix header styles
1 file changed, 7 insertions(+), 4 deletions(-)
~/ga-wdi/class-work/week-1/wendy_bite (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), 787 bytes | 787.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/wendy_bite.git
7f3670a..b02de26 master -> master
~/ga-wdi/class-work/week-1/wendy_bite (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: style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/ga-wdi/class-work/week-1/wendy_bite (master *)
$ git add style.css
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Add main style
>
> h2, main, and img"
[master a652fe1] Add main style
1 file changed, 18 insertions(+)
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git pus
git: 'pus' is not a git command. See 'git --help'.
The most similar commands are
push
pull
~/ga-wdi/class-work/week-1/wendy_bite (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), 427 bytes | 142.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/wendy_bite.git
b02de26..a652fe1 master -> master
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git add .
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Adjust spacing
>
> set max-width to body, and border-bottom and padding to main"
[master cb1e01a] Adjust spacing
1 file changed, 5 insertions(+), 1 deletion(-)
~/ga-wdi/class-work/week-1/wendy_bite (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), 433 bytes | 433.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/wendy_bite.git
a652fe1..cb1e01a master -> master
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git push
Everything up-to-date
~/ga-wdi/class-work/week-1/wendy_bite (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: style.css
no changes added to commit (use "git add" and/or "git commit -a")
~/ga-wdi/class-work/week-1/wendy_bite (master *)
$ git add .
~/ga-wdi/class-work/week-1/wendy_bite (master +)
$ git commit -m "Add footer styles"
[master 9153091] Add footer styles
1 file changed, 11 insertions(+), 2 deletions(-)
~/ga-wdi/class-work/week-1/wendy_bite (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), 387 bytes | 387.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/wendy_bite.git
cb1e01a..9153091 master -> master
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git tag -a v1.0 "submission mvp"
fatal: Failed to resolve 'submission mvp' as a valid ref.
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git tag -a v1.0 -m "submission mvp"
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ gl
* 9153091 (HEAD -> master, tag: v1.0, origin/master, origin/HEAD) 9 minutes ago Hammad Malik
| Add footer styles
* cb1e01a 21 minutes ago Hammad Malik
| Adjust spacing
* a652fe1 34 minutes ago Hammad Malik
| Add main style
* b02de26 78 minutes ago Hammad Malik
| Fix header styles
* 9c65473 84 minutes ago Hammad Malik
| Add body style
* 7f3670a 88 minutes ago Hammad Malik
| Add style for header nav, including <a> and a.active
* 249267b 89 minutes ago Hammad Malik
| Add font-weight from google font and HTML entities for accent mark e
* e7ed3e0 2 hours ago Hammad Malik
| Start style header
* df7d7be 2 hours ago Hammad Malik
| Add google fonts
* d187b1f 2 hours ago Hammad Malik
| Add basic style to body
* a2a4115 2 hours ago Hammad Malik
| Test style.css working
* b5b787d 2 hours ago Hammad Malik
| Create style.css
* 53b543b 7 weeks ago Perry Fustero
| removed style sheet
* f8751fa 7 weeks ago Perry Fustero
| add spacer between words
* a6020cd 7 weeks ago Perry Fustero
~/ga-wdi/class-work/week-1/wendy_bite (master)
$ git push --tag
Counting objects: 1, done.
Writing objects: 100% (1/1), 166 bytes | 166.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0)
To git.generalassemb.ly:tomatohammado/wendy_bite.git
* [new tag] v1.0 -> v1.0
~/ga-wdi/class-work/week-1/wendy_bite (master)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment