.gitconfig
has changed (see the text below)!Before you start the activity, check your system configuration as follows.
.gitconfig
fileNote 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 (as per the Development Environment demo, step 7.2), 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
[init]
defaultBranch = main
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 for installing Oh My Zsh in the Development Environment demo, step 5.3.