Renaming Files in Source Control
- Updated2025-08-15
- 1 minute(s) read
Source control stores revision history based on the name of a file. As a result, to preserve the revision history when you modify the name of a file, follow the renaming process of the source control provider.
Renaming a file can cause the file to lose links to dependencies. To avoid this problem, complete the following steps when you rename a file in source control.
- Open the LabVIEW project that contains the file you want to rename. The project must be open so that LabVIEW can detect when you rename a file.
- Check out all project files from the source control provider.
- Rename the file with the renaming process of the source code control provider.
- Return to the LabVIEW project and press the <F5> key to refresh the project. The file you renamed has a warning that indicates you renamed it.
- Right-click the file and select Replace with from the shortcut menu.
- Navigate to and select the new version of the file.