command line shell, type the following two lines. Make sure
to update them with your name and email address, not the
defaults of “Your Name” and “
[email protected]”!
Shell
$ git config --global user.name "Your Name"
$ git config --global user.email "
[email protected]"
$ git config --global init.defaultBranch main
If you desire, you can always change these configs later by
retyping the same commands with a new name or email
address.
Conclusion
It is a challenging task to configur e a software development
environment from scratch. Even experienced programmers
have difficulty with the job, but it is a one-time pain that is
more than worth it. We know have the ability to start up
new Django projects quickly and have learned about the
command line, Python interactive mode, how to install the
latest version of Python and Django, configur ed our text
editor, and installed Git. Everything is ready for our first
proper Django website in the next chapter.