1. Information

2. Unity Packages > dummy

# Log in as *douwe* on WSL2 Debian.

mkdir -p ~/gitlab
cd ~/gitlab
git clone http://gitlab.grendelgames.com/upm/dummy.git
# Enter "douwe" for the username for 'http://gitlab.grendelgames.com'.
# Enter the password.
cd dummy

git log --graph --all --decorate

3. Git-Fork

3.1. Configuration

  • Note: Fork does not accept a share as a Source Code Folder.

  • Create a symbolic link to allow Fork to access a repository inside WSL2.

  • Start Command Prompt with administrative privileges.

    mklink /d C:\Users\Douwe\GitLab-Linux \\wsl.localhost\Debian\home\douwe\gitlab
  • Start Fork.

  • Select File > Preferences.

  • Select the General tab.

  • Set the Source Code Folder to: C:\Users\Douwe\GitLab-Linux.

  • Close Fork.

3.2. ???

  • Start Fork.

  • Select File > Accounts.

  • Select the Repositories tab.

  • Select Unity Packages > dummy.

  • Click on the small arrow down icon to clone the repository.

  • Click Close.

  • Close Fork.

  • Start Fork.

  • Select File > Open Repository.

  • Select the dummy repository.

  • Click Select Folder.

    fatal: detected dubious ownership in repository at '//wsl.localhost/Debian/home/douwe/gitlab/dummy'
    To add an exception for this directory, call:
    
      git config --global --add safe.directory '%(prefix)///wsl.localhost/Debian/home/douwe/gitlab/dummy'
  • Click Mark repository as safe.

  • Close Fork.

4. GitLab Exercise