Git Activity

❮ Back Next ❯

Before you start the activity, check your system configuration as follows.

Check/update your .gitconfig file

Note that you should have mostly done this in the Development Environment demo, step 7.2, except I make one small change below.

Open your .gitconfig file in VS Code:

code ~/.gitconfig

Make sure that its contents match the following, replacing Homer’s name/email with your own:

# This is Git's per-user configuration file.
[user]
  name = Homer Simpson
  email = homer@email.com
[core]
  autocrlf = false
  editor = nano
[color]
  ui = true
[pull]
  rebase = false

Note that I added a new editor line to the [core] section.

Make sure that Oh My Zsh is set up correctly

To do the check, run this command:

alias gloga

If the following output appears, you are good to go:

gloga='git log --oneline --decorate --graph --all'

However, if a blank line appears, then you have a problem. In that case, you should revisit the instructions in the Development Environment demo, step 5.3.


❮ Back Next ❯