To enable the Source Control view, you must initialize your empty workspace as a git
repository. After creating an empty workspace, and launching the Vitis Unified IDE to open the workspace, you can add it to your git
repository using the following steps:
- From the Terminal menu, select New Terminal. The terminal is opened by default to the folder that is your workspace.
- In the Terminal window, type in the command git init and press Enter.
You should see a message such as: Initialized empty Git repository in /tests/temp/workVADD/.git/.
Important: Using
the Source Control view with Git requires you to have a User ID and Password
established, and provided to the system.
After you create a new component or project in the workspace, Vitis Unified IDE generates a .gitignore file. The .gitignore file can help you filter out the generated files so that it is easier to pick the files for source control. You can open the .gitignore file and edit this file if you have additional requirements.
The Source Control view is a GUI helper for Git. You can use Git commands and the source control view simultaneously for your project. Updates in the command line are displayed in the source control view and vice versa.