To enable the Source Control
view:
- Initialize your empty workspace as a Git repository.
- Create a workspace.
- Launch the Vitis Unified IDE to open the workspace.
- Add the workspace to your Git repository and perform the following steps.
- From the Terminal menu, select New Terminal. The terminal defaults to the folder that is your workspace.
- In the Terminal window, type in the command
git initand press Enter.
Initialized empty Git repository in
/tests/temp/workVADD/.git/ indicates the end of the process.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. The source control view displays updates in the command line..