Self review: Managing a project in GitHub

Self review: Managing a project in GitHub

In the previous exercise, Managing a project in Github, you forked the repository, altered the file, used diff to inspect the changes to class.txt. and pushed the file as a commit.

Reflect on the process.

  1. How does the diff command portray changes in a file?

    • Diff only signifies additions.

    • Diff uses a plus (+) sign and a minus sign (-) to signify all changes.

    • Diff only signifies removals.

  2. What command did you use to change active directories?

    • ad

    • cb

    • cd

  3. In what order do you run the commands to commit your file?

    • push, commit

    • commit, push