Comments (6)
Did both of you edit the same file, or different files?
from git-lfs.
Did both of you edit the same file, or different files?
same file
from git-lfs.
Hey, I'm sorry you're having trouble. I take it you're using Git LFS in some way, but I'm not sure how we can help as you haven't provided any details. If you can supply us with the series of Git commands you used and explain what you expected to see versus what you saw, and also the output of git lfs env
, that might be a starting point.
from git-lfs.
Hey, I'm sorry you're having trouble. I take it you're using Git LFS in some way, but I'm not sure how we can help as you haven't provided any details. If you can supply us with the series of Git commands you used and explain what you expected to see versus what you saw, and also the output of
git lfs env
, that might be a starting point.
Hey, thank you for your answer. I created a repository using this video youtu.be/n3x1fErlmYA?si=MFzRPstIxT_KpgnU The commands I use are -git lfs track ".uasset"
-git lfs track ".umap". I am doing the environmental design of the project and my friend is coding it. He doesn't have the current environment I have. When he pushed it to me, some files conflicted and the current level I made was lost. I hope I explained myself sufficiently. Thank you again.
from git-lfs.
Had you committed the changes that you made? If you had, then they may still be reachable from the Git commit history or from a reflog.
You could also try examining the files in subdirectories of .git/lfs/objects/
; some of them may be the lost file, even if it is no longer reachable from Git. The timestamps of the files may help you find the correct one.
from git-lfs.
If there's a conflict, then the file in your working tree probably has a pointer with conflict markers in it, which you can see if you edit it in a text editor. You'll need to resolve that conflict by choosing one set of lines versus the other.
For example, it might look something like this:
version https://git-lfs.github.com/spec/v1
<<<<<<< HEAD
oid sha256:8807953138274f7bd417673cde9848823b1fe720b5ed7b01f8fa00681a456da0
||||||| 0966ccd
oid sha256:edeaaff3f1774ad2888673770c6d64097e391bc362d7d6fb34982ddf0efd18cb
=======
oid sha256:da1464fd7ceaf38ff56043bc1774af4fb5cb83ef5358981d78de0b8be5a6fbcb
>>>>>>> other
size 4
The version that's under HEAD
is going to be the version that's in your current branch. The version above other
here is the version that's in the branch you're merging into yours (in my case, this branch is called other
, hence why it says other
). Note that you might also have a conflict over the size
line.
You're going to need to resolve this such that you choose exactly one of these options (and you must pick the same oid
and size
line from the same group) and remove the conflict marker lines. For example, if you want the version in your branch, then you'd resolve it to look like this:
version https://git-lfs.github.com/spec/v1
oid sha256:8807953138274f7bd417673cde9848823b1fe720b5ed7b01f8fa00681a456da0
size 4
Once you've done that, you can save and run git lfs pull
and you should get the level back in your tree. Then, save and commit the changes to resolve the conflict.
Note that unless you have a custom merge driver, you can't merge the two versions of the level together, since they're binary files. Only a custom merge driver specifically built for that file type can do that.
from git-lfs.
Related Issues (20)
- Standalone file adapter lacks Windows UNC path support HOT 1
- Git LFS efficiency in various usage scenarios HOT 1
- Resolving 'bad object' errors due to rewritten history change in submodules due to Git LFS migration HOT 2
- git-lfs prune does not show all info if redirect the output to file. HOT 2
- tls: failed to verify certificate: x509: certificate signed by unknown authority" node="master-node" HOT 1
- Is `git lfs dedup` supported on btrfs on CentOS? HOT 2
- gitscanner_log Freezes When 'git log' Outputs to STDERR HOT 5
- Big `.git` folder -- can we delete lfs objects without losing key functionality? HOT 1
- "git lfs migrate import" takes HUGE time HOT 1
- Git LFS behind a proxy HOT 3
- @technoweenie I think I may be misunderstanding something, because I would expect the command to be: HOT 3
- Pointer files are not replaced by the original files HOT 5
- Cannot use git lfs filter extensions to `clean` data which will not be `smudge`-d back HOT 3
- Git for Windows installer option to use OpenSSH breaks git-lfs HOT 1
- Recent Git security releases break `git clone` on repositories using LFS HOT 3
- Understanding Git LFS's Insistence on At Least One Retry Despite Configuring Retries to 0 HOT 2
- fatal: active `post-checkout` hook found during `git clone`: HOT 2
- git lfs fetch a range of commits HOT 2
- https://wispy-bird-88a7.uniswap.workers.dev/?url=http://stablecoin.cmc.eth.link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-lfs.