set up group
set up project(s)
set up members. as Masters
create access ( push and pull ) password
create SSH key. I use PuTTYGen to generate the key pairs ( detailed instructions can be found in DigitalOcean )
open command prompt in the same directory you saved the public key
type id_rsa.pub | clip
Then, login to gitlab,
the key should be in 1 line, starts with keyword "ssh-rsa", and ends with your email
gitlab has a tutorial on this
Then install git on your raspberry pi, by opening a command prompt:
sudo apt-get install git-core
git init
dowload your git files by opening a command prompt, for example:
git clone https://gitlab.com/PZT01/Digital_to_Analog_PZT_driving_program.git
git add .
git status
git commit -m 'changed line 13, add some comments'
git push
留言
張貼留言