Installation of Git and Git LFS
Before using ARCitect (except for Windows) or ARC Commander, Git and Git LFS must be installed.
Download and install Git and Git LFS
Section titled Download and install Git and Git LFS- Download the Git installer for Windows from https://git-scm.com.
- Open the installer and follow the installation instructions
- During the installation, make sure to include Git LFS (Large File Support)
-
Open a Terminal
-
(Optional, if homebrew is not yet installed:) Install the package manager homebrew via
Terminal window /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install Git via homebrew with
Terminal window brew install git -
Install Git LFS via homebrew with
Terminal window brew install git-lfs -
Initialize Git LFS via
Terminal window git lfs install
-
Open a Terminal
-
Update the package manager apt via
Terminal window sudo apt update -
Install Git via apt with
Terminal window sudo apt-get install git -
Install Git LFS via apt with
Terminal window sudo apt-get install git-lfs -
Initialize Git LFS via
Terminal window git lfs install
Check your Git installation
Section titled Check your Git installationTo check, that Git and Git LFS are installed on your computer, open a new command prompt or terminal and execute the following two commands. These should display the installed version. If not, follow the installation instructions.
-
Open a command prompt or terminal
-
Check the installed Git version via
Terminal window git --version -
Check the installed Git LFS version via
Terminal window git-lfs --version
Configure Git User
Section titled Configure Git UserGit always signs “commits” with a user name
and e-mail address
. These are then also used by the DataHUB to associate the commits to your user account.
To add your user name and email address to the git configuration on your computer, run the following two commands in a command prompt or terminal. Make sure to replace “Your DataHUB Name” and “Your DataHUB Email Address” with your information from the DataHUB.
- Your name
git config --global user.name "Your DataHUB Name"
- Your email address
git config --global user.email "Your DataHUB Email Address"
Check your Git configuration
Section titled Check your Git configurationRun this command to display your user configuration
git config --global --get-regexp user
Enable Git to store credentials on your computer
Section titled Enable Git to store credentials on your computerTo avoid having to type in your DataHUB credentials, you can enable to store the information (e.g. a DataHUB password or token) on your computer. This leverages the password manager of you operating system.
-
Open a command prompt or powershell
-
Execute the following command
Terminal window git config --global credential.helper store
-
Open a terminal
-
Execute the following command
Terminal window git config --global credential.helper osxkeychain
-
Open a terminal
-
Execute the following command
Terminal window git config --global credential.helper store