You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1.7 KiB

${REPO_NAME}

Use preferably with Vitis Version 2020.2

Created from Template ${TEMPLATE_NAME}

Getting started

  1. After cloning the repository execute the following commands in the cloned folder:

    • git config --local core.hooksPath .githooks - set path to git-hooks for this repository.

    • git checkout BRANCH - checkout the BRANCH you want to work with (e.g. master) which create local project files (because the hook script will be executed now ; this could take a while).

  2. Open Vitis and select the cloned folder as workspace.

  3. Click on Inport Project, choose Import projects from Git and click Next >.

  4. Choose Existing local repository and click Next >.

  5. Choose the cloned / workspace folder (should be the only entry) and click Next >.

  6. Choose Import existing Eclipse projects and click Next >.

  7. Leave everything unchanged and click Finish.

Workflow

  • When you want to commit your work, add all files with git add . - Files that are not relevant are ignored by the .gitignore file.

  • During the commit, the pre-commit hook script is executed and changes the local-absolute paths to relative paths.

Checkout branch

  • It is recommended that you follow these steps to checkout a branch:

    • Close Vitis.

    • Make sure all work is commited.

    • Clean up workspace folder with git clean -dfx.

    • git checkout BRANCH - checkout the BRANCH you want to work with (e.g. master) which create local project files (because the hook script will be executed now ; this could take a while).

    • Follow the instructions in the Getting started section from step 2.