use “Git Submodules” see: https://git-scm.com/book/en/v2/Git-Tools-Submodules Example: > git submodule add https://url/example.git Target-Folder Quote: “Although is a subdirectory in your working directory, Git sees it as a submodule and doesn’t track its contents when you’re not in that directory. Instead, Git sees it as a particular commit from that repository.” (https://git-scm.com/book/en/v2/Git-Tools-Submodules)
Monthly Archive: October 2021
Problem: The AUR yay-update of a package fails with the error message like “xy is not a clone of https://github.com/xy.git” Solution: Delete the source clone mentioned in the error message. Be careful: Not the PKGBUILD, but the clone that goes into the same directory as the PKGBUILD by default. Afterwards yay will clone the repository again and update.