Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 11 Next »

In order to sync your local project on your computer to GitLab you will need to install and setup a Git client such as SourceTree or GitKraken.
For a list of Git Clients that are compatible with GitLab: https://about.gitlab.com/applications/#gui-git-clients

Alternately, if you prefer using Git via the command line, you can find helpful documentation here: https://gitlab.blinkm.io/help/gitlab-basics/start-using-git.md 


SSH Keys

As part of your Git setup process you will need to create an SSH key.
Detailed instructions on how to do this can be found here: https://gitlab.blinkm.io/help/ssh/README

Now, from the GitLab Dashboard page, go to Profile Settings -> SSH Keys and take the complete contents of your new id_rsa.pub file and use it to “Add key” to GitLab. 

Config file

You may need to create a config file in your ~/.ssh/ directory. This file contains configuration information for our BlinkMobile Hosted GitLab service. 

 

config
Host=gitlab.blinkm.io
Hostname=gitlab.blinkm.io
Port=40022
User=git
IdentityFile=~/.ssh/id_rsa

Note: Change the value of the IdentityFile= location to the location of your SSH keys. 

 

Testing your setup

You can test your setup by running the appropriate commands on the command line, or by adding a new remote GitLab repository path to your local Git client and testing the pull, push and commit functionality. 



  • No labels