Checking out the code

Requirements: git


  1. Create an account on https://github.com/
  2. Create a remote fork of https://github.com/Taskana/TaskanaAdapter

    see https://help.github.com/articles/fork-a-repo/


  3. Configure git to automatically adjust line endings with each commit (optional, but recommended)

    git config --global core.autocrlf input


  4. Create a local clone

    # using https
    git clone https://github.com/<yourname>/TaskanaAdapter.git
    # using ssh
    git clone git@github.com:<yourname>/TaskanaAdapter.git


  5. Confiure git to automatically validate your commit messages (more information: Contribution Guide)

    cd TaskanaAdapter
    git config core.hooksPath qa/hooks
    1. Optional: Create a symlink to .git/hooks in order to support external tools

      rm -rf .git/hooks
      ln -s $PWD/qa/hooks .git/hooks


  6. Create a remote for the upstream project so that it is later easier to retrieve changes from the main repository.

    # using https
    git remote add upstream https://github.com/Taskana/TaskanaAdapter.git
    # using ssh
    git remote add upstream git@github.com:Taskana/TaskanaAdapter.git