Module 1 Exercise 1: Git basics


(Chris Cannon) #587

Nicely done @LescanoMicaela :100:


(Chris Cannon) #588

Looks good @jaimerabasco :sparkles:


(Vasil Markov) #589


Hi here is the screenshot
(Claudio Santoro) #590

It’s amazing to see this amount of teachers here! @mozzadrella, here comes mine:


(Diego Fernando Marin) #591

Module 1 Exercise 1 done!


(Raul Martinez) #592


(Thomas Logan) #593

Test the content


(Marcos Alano) #594

Hi!

Here is the screenshot for my terminal.


(Sara Marín-López) #595

Here is mine!


(Debra M. Duke) #596


(Debra M. Duke) #597

Lot’s of good information to share with students when introducing Git. Thank you!


(Carla Giner) #598

My screenshot, with some extra git status commands :slight_smile:


(Abhey Rana) #599

Module 1 Exercise 1: Final Screenshot


(Davide Fucci) #600

Exercise 1: Done :wink:


(Yann Thierry-Mieg) #601

Here is mine,

ythierry@localhost work2]$ git init demo
Initialized empty Git repository in /data/ythierry/home/ythierry/cours/github/work2/demo/.git/
[ythierry@localhost work2]$ ls
demo/
[ythierry@localhost work2]$ cd demo/
[ythierry@localhost demo]$ cat >> readme.md
A course on building courses, is that meta ?    
[ythierry@localhost demo]$ cat readme.md 
A course on building courses, is that meta ?
[ythierry@localhost demo]$ git add readme.md 
[ythierry@localhost demo]$ git reset readme.md 
[ythierry@localhost demo]$ ls
readme.md
[ythierry@localhost demo]$ cat readme.md 
A course on building courses, is that meta ?
[ythierry@localhost demo]$ git status
On branch master

Initial commit

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        readme.md

nothing added to commit but untracked files present (use "git add" to track)
[ythierry@localhost demo]$ git add readme.md 
[ythierry@localhost demo]$ git commit -m 'a first readme'

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'ythierry@localhost.(none)')
[ythierry@localhost demo]$ git config --global user.email "yann.thierry-mieg@lip6.fr"
[ythierry@localhost demo]$ git config --global user.name "Yann Thierry-Mieg"
[ythierry@localhost demo]$ git commit -m 'a first readme'
[master (root-commit) 02cdf11] a first readme
 1 file changed, 1 insertion(+)
 create mode 100644 readme.md

(Lyle Harlow) #602

GitCampusAdvisiorsModule1


(Joel) #603


(Joel) #604

Is this what you were looking for? I’m not sure, after this much time away, that I’m understanding what you wanted to see.


(John Simonsen) #605


(Ayush Agarwal) #606

Here we go. Exercise 1:
scrnsht