Hope this helps, let me know if there are any issues. The reason why git lfs clone works is that git lfs pull doesn't use. Then, Git will only fetch LFS files that match patterns in your. Once the above steps have been performed, ask them to try to perform the git lfs fetch without the lfs path included - as this is not required and can cause issues when trying to locate the remote repo location: git lfs fetch origin main Okay, you don't have the skip smudge setting enabled. Once this is done, I would suggest having them also ensure that git lfs is definitely installed on their local repository by running the following command, as if it is not - any git lfs commands will not work as GIT will not understand how to pull the data: git lfs install If the user is having issues fetching lfs content over HTTPS, I would suggest that they first ensure that the remote URL has been updated to include the App Password to avoid any potential authentication issues: git remote set-url origin the clone command is using the App Password, but their remote URL is not updated - this would explain why they are able to clone but not able to pull. When a new drydock resource is created, the LFS files are not present until a git lfs fetch and git lfs checkout are run exactly like described in the bug. The final confusing part, the user has been able to successfully clone other repositories with lfs tracked assets and have no problems pulling down these assets. We tried duplicating the project and uploading a new copy of the repository to bitbucket and the same issue occurs when they clone the repository. This member also in the same user groups on bitbucket for access to repositories and permissions. Hello, Im using Gerrit 2.15.1 with lfs plugin 2.15 stable, when trying to pull fetch LFS using git lfs pull. This issue is only affecting one member in the team and other team members have no problems pulling down the lfs tracked assets. When inspecting these assets, the change to the files resembles that of an asset deletion. Removing files from Git LFS means that those files will no longer. If we try to discard the changes, we get the following response from git.īatch response: Repository or object not found: Ĭheck that it exists and that you have proper access to itĮrror: failed to fetch some objects from ' 'įrom reading that message, it appears to be an authentication issue but if there was a successful clone of the main repository, you'd think the authentication would also be valid for the lfs content. Removing content from a Git LFS repository is not recommended and no cleanup task exists. The repository is able to successfully cloned however all of the assets marked to be tracked by git lfs are marked as changed. Here's an attempt at a modified actions. You need to checkout the LFS files inorder for the pointer files to be replaced with their LFS counterparts. This variation of the clone command configures the local repository so that no Git LFS files in the media subdirectory are cloned or pulled into the. The repository is accessed via the https protocol along with app password. 1 Answer Sorted by: 46 The LFS objects seem to be only fetched based on the log. It automatically checks for the LFS files and downloads the required files during the checkout.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |