EJERCICIO_PRÁCTICO
Installation and Initial Setup
Installation and Initial Setup
Before we start, we need to have Git installed and tell it who we are, since every change (commit) must be signed with a name and email.
1. Installation
Depending on your OS:
- Windows: Download and install Git Bash.
- macOS: Open terminal and type
git --version. If not installed, it will prompt you. - Linux (Ubuntu):
sudo apt install git
2. Configuration
Git needs to know who you are. Run these two commands:
bashgit config --global user.name "Your Name" git config --global user.email "your@email.com"
Practical Exercise
- Verify your Git version.
- Configure your name and email.
- Check the config by running:
git config --list
