Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (30 sloc) 1.37 KB

Git Basics Diagnostic

Write your answers inside this file, where it's indicated by the comments.

1.We just forked a repo on GitHub and want to start working on it locally.

What command do we use to do that? Use the correct URL from your fork of this repository in your answer.

# Remove this comment and place your answer here.

2.What do you do after cloning a repository, before you start making any changes/additions?

3.What command do we use to create a new branch? Name this branch response in your answer. Then, how do we switch to that branch?

# Remove this comment and place your answer here.

4.We just wrote some code. What command do we use to see a summary of the changes in our working directory?

# Remove this comment and place your answer here.

5.We want to prepare a change for a commit by adding a file to the staging area. What command do we use to stage a file named diagnostic.md?

# Remove this comment and place your answer here.

6.Once diagnostic.md is staged, we have to make a commit with the command git commit. What are the two formatting items you need to make up your commit message?

7.Should you ever edit published history?