Created with Vitis Version 2020.2
Created from Template ${TEMPLATE_NAME}
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).
Open Vitis and select the cloned folder as workspace.
Click on Inport Project
, choose Import projects from Git
and click Next >
.
Choose Existing local repository
and click Next >
.
Choose the cloned / workspace folder (should be the only entry) and click Next >
.
Choose Import existing Eclipse projects
and click Next >
.
Leave everything unchanged and click Finish
.
git add .
- Not relevant files will be ignored by the .gitignore
file.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
.