Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes LFS problem with conversable-agent.jpg #1974

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Fixes LFS problem with conversable-agent.jpg #1974

merged 1 commit into from
Mar 12, 2024

Conversation

davorrunje
Copy link
Collaborator

Why are these changes needed?

There is a problem with a file that should be tracked by LFS, but it is pushed as a regular file. The problem manifests itself in many scenarios, the simplest one being just cloning the repository:

$ git clone git@github.com:microsoft/autogen.git
Cloning into 'autogen'...
warning: templates not found in /home/davor/.git-template
remote: Enumerating objects: 97640, done.
remote: Counting objects: 100% (960/960), done.
remote: Compressing objects: 100% (244/244), done.
remote: Total 97640 (delta 426), reused 856 (delta 357), pack-reused 96680
Receiving objects: 100% (97640/97640), 470.24 MiB | 15.49 MiB/s, done.
Resolving deltas: 100% (47668/47668), done.
Updating files: 100% (547/547), done.
Filtering content: 100% (13/13), 6.04 MiB | 2.86 MiB/s, done.
Encountered 1 file that should have been a pointer, but wasn't:
    website/docs/tutorial/assets/conversable-agent.jpg

A recommended way to handle it is to run the following commands (https://docs.gitlab.com/ee/topics/git/lfs/troubleshooting.html):

$ git lfs migrate import --yes --no-rewrite website/docs/tutorial/assets/conversable-agent.jpg
$ git push

Related issue number

Closes #1973

Checks

@davorrunje davorrunje requested a review from ekzhu March 12, 2024 18:04
@ekzhu ekzhu enabled auto-merge March 12, 2024 18:08
@ekzhu ekzhu added this pull request to the merge queue Mar 12, 2024
Merged via the queue into main with commit 1695595 Mar 12, 2024
23 checks passed
whiskyboy pushed a commit to whiskyboy/autogen that referenced this pull request Apr 17, 2024
@jackgerrits jackgerrits deleted the fix-lfs-problem branch September 25, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: LFS problem with conversable-agent.jpg
2 participants