Module 2 Exercise 1: Network activity


(Ed) #163

Noticed that a screen capture was required after having created the network connections to my github account. The screenshot should verify that this step was completed.

working-with-remotes-2-2


(Dawid Zalewski) #164

My screenshot:


(Chris Cannon) #165

Love the detail, very well done! :100:


(Sarah Dukes) #166

I found this one confusing. I followed the steps and used ‘git fetch’ to ‘bring the commits back down to my local repository’ but I’m not sure what this actually does.

git log doesn’t show the commits and I can’t see the file I uploaded to GitHub in my local repository so I’m not sure what the purpose of fetch is?

19%20PM


(Nikola Dašić) #167


(Vladimir Jovanović) #168

Making a pod to launch to the Moon! :stars:


(Antonio Gámez) #169


(jeanluc kabulu) #170

@mozzadrella

:ok_hand:

module 2 completed


(Paula Waite) #171


(S M Mahmudul Hasan) #172


(Kevin ROBERT) #173

01


(J Rice) #174



(Dejan Čurk) #175


(Ethan McGee) #176


(Gattal abderrraouf) #177


(Gattal abderrraouf) #178


(Bhavin Jawade) #179

@mozzadrella

here is my screenshot for Exercise 2.2


(John Simonsen) #180

Terminal output doesn’t fit on one screen so I copied all the text.

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub
$ git init individual-work
Initialized empty Git repository in M:/GitHub/individual-work/.git/

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub
$ cd individual-work/

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ touch readme.md

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git add readme.md

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git commit -m ‘initalized individual-work project repo’
[master (root-commit) e2e099e] initalized individual-work project repo
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 readme.md

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ atom .

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git status
On branch master
Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git checkout – …” to discard changes in working directory)

    modified:   readme.md

no changes added to commit (use “git add” and/or “git commit -a”)

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git add readme.md

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git commit -m ‘added learning objectives to readme’
[master 4aa9757] added learning objectives to readme
1 file changed, 9 insertions(+)

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git log
commit 4aa97574f3cb451dd0e3e55f830412fcbfeb0573 (HEAD -> master)
Author: John Simonsen johnsimonsen@weber.edu
Date: Tue Dec 4 12:20:46 2018 -0700

added learning objectives to readme

commit e2e099ec2736220c1d0e699deec23629eefe6c02
Author: John Simonsen johnsimonsen@weber.edu
Date: Tue Dec 4 12:17:45 2018 -0700

initalized individual-work project repo

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git remote add origin https://github.com/mrsimonsen/individual-work.git

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git remote
origin

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git push -u origin master
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (6/6), 580 bytes | 290.00 KiB/s, done.
Total 6 (delta 0), reused 0 (delta 0)
remote:
remote: Create a pull request for ‘master’ on GitHub by visiting:
remote: https://github.com/mrsimonsen/individual-work/pull/new/master
remote:
To https://github.com/mrsimonsen/individual-work.git

  • [new branch] master -> master
    Branch ‘master’ set up to track remote branch ‘master’ from ‘origin’.

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git remote -v
origin https://github.com/mrsimonsen/individual-work.git (fetch)
origin https://github.com/mrsimonsen/individual-work.git (push)

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ ^C

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git fetch
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 1), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https://github.com/mrsimonsen/individual-work
4aa9757…6ae4f68 master -> origin/master

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git log
commit 4aa97574f3cb451dd0e3e55f830412fcbfeb0573 (HEAD -> master)
Author: John Simonsen johnsimonsen@weber.edu
Date: Tue Dec 4 12:20:46 2018 -0700

added learning objectives to readme

commit e2e099ec2736220c1d0e699deec23629eefe6c02
Author: John Simonsen johnsimonsen@weber.edu
Date: Tue Dec 4 12:17:45 2018 -0700

initalized individual-work project repo

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$ git fetch
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https://github.com/mrsimonsen/individual-work
6ae4f68…54f023a master -> origin/master

johnsimonsen@D13213WS0000162 MINGW64 /m/GitHub/individual-work (master)
$


(Harun Umar) #181

Hello @mozzadrella, @ccannon94 here is my Module 2 exercise. Thank you



(Yatri Patel) #182