Clone 00_core repository

If you need to install 00_core on a D:\ drive

  • Make sure git is installed
  • Make sure git lfs is installed
  • Make sure you have the public/private IASpace Keys
    • go to the folder \\filer.zhdk.ch\collaboration\IASpace\10_infrastruktur\02_IT
    • and copy the folder .ssh to the local <user> – folder
  • open a Command Prompt Window
  • type the text below, to test if the ssh-key is working
ssh -Tv git@gitlab.zhdk.ch
  • if you are successfull you should see the following output in the terminal window (look out for the highlighted line towards the end):

debug1: Sending environment.
debug1: Sending env LC_CTYPE = UTF-8
Welcome to GitLab, @mfroehli!
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 2416, received 2696 bytes, in 0.1 seconds
Bytes per second: sent 25392.3, received 28335.1
debug1: Exit status 0

If you an error executing above command, you need to make the following changes to the security of the .ssh folder:

  • Context menu -> Properties -> Tab Security ->
  • Press Advanced
    • Press ‘Disable all Inheritence’
      • Select ‘Convert inherited permissions…’
      • close popup window
  • Press Edit
    • remove all users accounts except
      • Administrators
      • SYSTEM
      • and your current account your logged in.
  • Now try again
  • type the text below, this will point to the directory where the repositoiry will be cloned
D:
  • hit enter
  • copy paste the text below, this will clone the 00_core repository
git clone git@gitlab.zhdk.ch:iaspace/infrastructure/00_core_winall 00_core
  • hit enter
  • copy paste the text below, it will enter into the newly created 00_core directory
cd 00_core
  • hit enter
  • copy paste the text below, it will update all the submodules for the first time
git submodule update --init --recursive
  • hit enter
  • copy paste the text below, it will update the submodules and create necessary shortcuts
.\update
  • hit enter

From now onward, when ever you want to update the 00_core folder to the most current state you simply need to

D:
cd 00_core
.\update

Sourcetree

If you desire to use Sourcetree to admin the repos and use the ssh key, you need to

  • Menu > Tools > Option > General
    • SSH Client Configuration
      • SSH Client: OpenSSH
      • SSH Key: Naviagate to C:\Users\<username>\.ssh\id_ecdsa
Last updated bymartin froehlich