From c9c4ab8bff4b18fc3924f1ba07fe860aaaf1bf53 Mon Sep 17 00:00:00 2001 From: Gene Johnston Date: Tue, 17 Dec 2024 10:09:00 -0500 Subject: [PATCH] Generalize hard-link advice. Signed-off-by: Gene Johnston --- prototypes/Readme.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/prototypes/Readme.md b/prototypes/Readme.md index a8121f6ec7..763191fe3d 100644 --- a/prototypes/Readme.md +++ b/prototypes/Readme.md @@ -4,4 +4,8 @@ During experiments, you might place a new class into a particular package to con You do not want this new code to cause Zowe build pipelines to fail, but you do not want to lose the useful work that has been completed. Placing your source file(s) under the **prototypes** directory is a way to keep your valuable experiment and not break the Zowe build process. -Place your source file into a path under the **prototypes** directory that mirrors the real directory path . Personally, I like to create a hard link from the file in my real file path to an identical file path under the **prototypes** directory. That way I can import, compile, and debug in the real directory until I complete experiments. Before committing, I can just delete the file in the real directory path and the remaining hard-linked file in the **prototypes** directory path will have all of the latest changes. +Place your source file into a path under the **prototypes** directory that mirrors the real directory path. + +**Tip:** Create a hard link from the file in the real file path to an identical file path under the **prototypes** directory. That way imports, compiles, and debugging will work in the real directory during experiments, while all changes are automatically recorded in the **prototypes** path. + +**Note:** Remember to delete a new file or revert an existing file in the real directory path. The remaining hard-linked file(s) in the **prototypes** directory path will still have all of the latest changes.