Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Unity will not refresh after switching branches in Gitbash. #1178

Closed
LilMike808 opened this issue Oct 7, 2022 · 3 comments
Closed

Unity will not refresh after switching branches in Gitbash. #1178

LilMike808 opened this issue Oct 7, 2022 · 3 comments

Comments

@LilMike808
Copy link

Step 1: Create dev branch then make changes (C# script) while on dev branch in Unity then save scene.
Step 2: Switch to master/main branch in Gitbash, go back to Unity and the project will not refresh to reflect now being on the master/main branch.

Expected behavior: Unity automatically refreshes to reflect the switch from dev to master/main branch which shows lack of C#script created while in Dev branch.

Actual behavior: Unity incapable of refreshing to reflect switching branches in Gitbash.

Frequency 98%

@LilMike808
Copy link
Author

LilMike808 commented Oct 7, 2022

I apologize as I am brand new to Unity and coding in general. I just signed up for a game dev course. Unity did refresh a little before it didn't. The issue seemed to happen at random and is now consistent. I have followed course instructions to the 'T'.

@LilMike808
Copy link
Author

LilMike808 commented Oct 7, 2022

I also keep deleting and recreating my 'version control' GitHub crash course repository. I can recreate a repository if need be up until the point in course where this issue occurs (creating and switching branches).

@shana
Copy link
Member

shana commented Oct 19, 2022

Sorry, this project is not maintained anymore. The replacement is Git for Unity, at https://github.com/spoiledcat/git-for-unity. If you have GitHub for Unity in your project, remove it first and then install Git for Unity, see the README in the link for instructions.

@shana shana closed this as completed Oct 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants