Go to gitlab.com/users/sign_up and create a free account. Then let us know about your username so we can grant you access to our repositories.
Install git on your development machine.
There's an in-depth description of Working with Git on Windows available at beanstalk. It covers the installation of Git for Windows as well as installing SSH keys.
Git itself is a collection of tools that are operated from the command line (or bash). However, there are GUI clients available for all major operating systems.
If you're using a GUI client, some of these settings may be done via its settings dialog.
Git checks 4 places for a configuration file, cascading settings in the following order:
.gitconfigfile located at
If you haven't been asked for your name and your email address during installation, you can manually set this information:
git config --global user.name "Your Name" git config --global user.email "email@example.com"
[user] name = Your Name email = firstname.lastname@example.org [core] excludesfile = /some/path/to/.gitignore_global filemode = false
exludesfile mentioned in the .gitconfig file (the global .gitignore file) defines which files to ignore (exclude from versioning) for all repositories on the computer its stored on. You can set the path of the global exludesfile to the actual user's home directory with
git config --global core.excludesfile '~/.gitignore'
Each repository and each directory in it can have its own .gitignore file.
# Generic: Temporary Files and Logs *~ ._* .DS_Store Thumbs.db ~*.docx ~*.xlsx *.log*
# LabVIEW Metadata *.aliases *.lvlps .cache/ # LabVIEW Binaries/Builds artifacts/ builds/ *.lvlibp
If you're using msysgit on Windows:
.gitconfigfile resides at
~/.gitconfigfile resides at your
echo %PROGRAMFILES(X86)% and
echo %HOMEPATH% from a Windows command prompt to find the specific locations.
Set the global .gitignore file location to
git config --global core.excludesfile "%USERPROFILE%\.gitignore"
The above command will only set the location of the ignore file that git will use. The file has to still be manually created in that location and populated with the ignore list.
Open up My Computer → Advanced System Settings → Environment Variables. Then:
C:\Program Files (X86)\Git\bin) to the
If your repository is on a filesystem whose executable bits are unreliable (like FAT), git should be configured to ignore differences in file modes recorded in the index and the file mode on the filesystem if they differ only on executable bit:
git config --local core.filemode false
git config --global core.filemode false
To establish a secure connection between your computer and GitLab via Secure Shell (SSH) you will need to create and install SSH keys. The private key resides on your computer, the public key is stored at the GitLab server.
Add your key by navigating to the 'SSH Keys' section in your user profile, selecting 'Add SSH Key' and copy-pasting the public key to the 'key' field. Please copy the complete key (a long string starting with
ssh- and ending with the comment you specified, usually your email address).
For server certificate errors, see 04 Debugging.
You can add options for the ssh client permanently in
~/.ssh/config (for the current user)
Host 192.168.*.* StrictHostKeyChecking no UserKnownHostsFile=/dev/null