Step 1: Selecting files to ignore - 2025.2 English - XD260

Vitis Tutorials: Embedded Software (XD260)

Document ID
XD260
Release Date
2025-12-05
Version
2025.2 English
  1. Go through the ‘Workspace Setup’ stage again. The ‘clean’ target will remove what you currently have a give us a fresh workspace.

  2. Then run the following command in the terminal:

git init
  1. Open the ‘Source Control’ view in the IDE which will display each components and all of the files avalible for staging. In this example we will use the hello_world application component as an example. Lets say we dont want to commit the ‘launch.json’ file and the ‘psinit’ folder.

../../../_images/source_control_view.PNG

  1. Select the ‘.gitignore’ file from the ‘hello_world’ component and it will be displayed like so.

../../../_images/gitignore_file.PNG

  1. Edit the file so that it includes the ‘launch.json’ file and the ‘psinit’ folder.

../../../_images/gitignore_file_edited.PNG

You will notice that once we edit this file we can see that the source control view has been updated and both the ‘launch.json’ file and ‘psinit’ folder have been removed from the hello_world component.

../../../_images/source_control_view_updated.PNG