Module 1 Exercise 1: Git basics

Module-1-Basics

Accept Module 1


Exercise 1.1

In your terminal, create a demo project that replicates these steps:

  1. git init demo (cd into it)
  2. touch readme.md
  3. git add readme.md
  4. git reset readme.md
  5. git add readme.md (to get it back in the staging area)
  6. git commit -m ‘commit empty readme’
  7. Take a screenshot of your terminal and post it in this thread.

@AaronGullickson’s example is :100: - they check a git status each step of the way:

00%20AM

When you are done, you can move on to Module 2.

31 Likes

Hi @mozzadrella: the link to watch 1.1 Meet Git seems to go to a specific time code in the video (33s)

@SvenAelterman thanks!

module-1-hw
Good times. I did a lot of experimenting here with different editors and shells. Loved the lesson on strategically committing parts of a file to keep the history intelligible. I do think this will be hard to motivate with novice high school students, but we’ve got to start somewhere.

3 Likes

@mozzadrella here is my screenshot:

image

2 Likes

6d1d38cb315f5a3013a3ae1475de717e652b97e4

1 Like

image

2 Likes

00%20AM

1 Like

Exercise 1.1 done. image

1 Like

Hi @mozzadrella! It was nice meeting you at SIGCSE2018! It was really nice opportunity to learn more about GitHub!

image

1 Like

Screenshot%20from%202018-02-26%2015-33-01

1 Like

01

2 Likes

Hello!
here is my screenshot:
Screenshot_20180226_123807

3 Likes

Exercise 1.1 Done

Screenshot%20from%202018-02-27%2000-34-07

1 Like

36%20AM

2 Likes

@mozzadrella Also, I wish we have next module button in this UI! :slight_smile:

3 Likes

great suggestion @g471000 I’ll make that happen :slight_smile:

2 Likes

10

Nicely done!

2 Likes

Here it is.
Screenshot_20180226_163442

2 Likes

2018-02-26_14-51-40

2 Likes