UEGitPlugin icon indicating copy to clipboard operation
UEGitPlugin copied to clipboard

multiple revision control options are greyed out (namely check out)

Open Blanchea opened this issue 1 year ago • 4 comments

So I believe to have setup the plugin correctly, it connects to revision control and I can push changes, I also changed the .ini file with the recommended settings but I still cannot have access to revsion control options... could anyone help me out? image

Blanchea avatar Sep 13 '24 01:09 Blanchea

what is your .gitattributes file

mastercoms avatar Sep 13 '24 02:09 mastercoms

what is your .gitattributes file

it's the same as the PB core, after troubleshooting a bit more, i've pinpointed the issue which seems to be that i haven't properly initialized Git LFS when creating my repository, Im not sure how to go about it though

Blanchea avatar Sep 13 '24 02:09 Blanchea

When I set it up a on a past project a few months ago it worked. Now when I clone my past repository to my local PC my GitDesktop prompts me that I need to enable GitLFS as it is enabled in the project. When i clone this new project on my local repository it won't prompt me though, so it seems its not initialized properly.

Blanchea avatar Sep 13 '24 02:09 Blanchea

You can try running git-lfs install in the repository to initialize it. Beyond that, check to make sure that the assets you're using are added as LFS assets.

mastercoms avatar Oct 17 '24 08:10 mastercoms

Hi, I'm having the same issue, all greyed out. I have LFS installed, and the assets are on the LFS too (git lfs ls-files). I get these messages in the message log for revision control despite the settings looking good:

Revision control is disabled
Revision control is disabled
Revision control is disabled
Revision control is disabled

sanxfxteam avatar Nov 14 '24 04:11 sanxfxteam

I've created different projects to check if I made a mistake with the project. And still everything is greyed, and Revision control is disabled is still shown...

I've tried using github and azure dev ops. I've tried starting with the original git plugin and switching to the latest.

I see this warning:

Warning: GetModule racing against IsReady: GitSourceControl

I saw this answer : https://github.com/ProjectBorealis/UEGitPlugin/issues/123 When I delay the loading and connection, I get the connection is successful but most of the options are greyed out.

Which version of git is everyone using?

sanxfxteam avatar Nov 16 '24 20:11 sanxfxteam

This looks exactly like mine a second ago when I forgot to first run: git lfs track "*.uasset" --lockable

git lfs track "*.umap" --lockable

or edit .gitattributes manually and then run git add --renormalize .

tcwilsonart avatar Nov 30 '24 23:11 tcwilsonart

I found out you need the .gitattributes at the root of the git repo, not the project folder.

On Sat, Nov 30, 2024, 15:47 Tyler Wilson @.***> wrote:

This looks exactly like mine a second ago when I forgot to first run: git lfs track ".uasset" --lockable git lfs track ".umap" --lockable

or edit .gitattributes manually and then run git add --renormalize .

— Reply to this email directly, view it on GitHub https://github.com/ProjectBorealis/UEGitPlugin/issues/182#issuecomment-2509479846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADNGNYW7POHEHEUW3FI5ET2DJFBDAVCNFSM6AAAAABOELYKYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBZGQ3TSOBUGY . You are receiving this because you commented.Message ID: @.***>

sanxfxteam avatar Dec 01 '24 02:12 sanxfxteam

Closing this given inactivity, and solutions being given in the thread.

mastercoms avatar Jan 17 '25 12:01 mastercoms