1.5 KiB
Setup and Learn GIT
Note
This section assumes you have completed accounts
guide.
Git
What is it?
Git is a free and open source distributed version control system that the OpenStack community uses to manage changes to source code.
Installation
Mac OS
- Go to the Git download page and click Mac OS X.
- The downloaded file should be a dmg in your downloads folder. Open that dmg file and follow the instructions on screen.
If you use the package manager Homebrew, open a terminal and type:
brew install git
Linux
For distributions like Debian, Ubuntu, or Mint open a terminal and type:
sudo apt install git
For distributions like RedHat, Fedora 21 or earlier, or CentOS open a terminal and type:
sudo yum install git
For Fedora 22 or later open a terminal and type:
sudo dnf install git
For SUSE distributions open a terminal and type:
sudo zypper in git
Configure Git
Once you have Git installed you need to configure it. Open your terminal application and issue the following commands putting in your first/last name and email address. This is how your contributions will be identified:
git config --global user.name "Firstname Lastname"
git config --global user.email "your_email@youremail.com"
Learning Git
You can use Git Immersion to work through tutorials for learning git.