2022 Developer Survey is open! Take survey.

Questions tagged [git]

Git is an open-source distributed version control system.

Filter by
Sorted by
Tagged with
3 votes
1 answer
144 views

Trunk Based Development: Prevent unreleased assets and features from being included in the build

Our team is currently working on a live service game (A game that will be updated regularly post-launch) and is using a trunk-based development strategy. The trunk-based development strategy is great. ...
user avatar
  • 33
0 votes
1 answer
36 views

How do I use version controls for teams?

I have a question and I haven't found a topic, which fits it. I want to create a small mobile game and I plan to work on it with some friends later on. Do you guys have any tips for me how I can use ...
user avatar
1 vote
0 answers
48 views

how to resolve merge conflicts between non-code files

While working with my team, we often work on same prefabs and have merge conflicts. Usually, we avoid this as much as possible by trying to work on the asset isolated, but, it seems hard to avoid, and ...
user avatar
2 votes
1 answer
372 views

How do you exclude (gitignore) assets from Unity's package manager without messing up the references in your project?

My assumption is that, in any context , it is not a good practice to keep libraries and packages in your source control. For instance, I have downloaded the "Platformer set" asset and ...
user avatar
0 votes
1 answer
44 views

Why does Unity reload when I switch between branches in SourceTree?

I have decided to work with multiple branches (Art, mechanics, packages etc.) on SourceTree but I noticed that Unity reloads everytime I switch between branches and I can't access a prefab from ...
user avatar
0 votes
0 answers
10 views

Unreal 4 source control not sharing some things with team members

I am working on an unreal blueprint project with another programmer and we are using a gitlab remote repo to store our work. Previously we have been able to push and share our work and see each others ...
user avatar
  • 101
1 vote
0 answers
32 views

How do I prevent my umap from being modified at every save?

I'm using UnrealEngine 4. Every time I save my files, my .umap file seems to be modified. I can basically generate an infinite stream of commits by just clicking <...
user avatar
  • 111
0 votes
0 answers
80 views

Unity, LFS, and Bitbucket - 999+ Errors Missing Files

I'm just beginning to collaborate on a project with a second programmer. Unity Collab was causing issues with my teams unity causing 40 minute load times which was absolutely unmanageable. Since then ...
user avatar
2 votes
0 answers
147 views

How to ignore one unity package in source control

I've just installed the Unity quick search package. This is an editor extension which each developer should choose if they want installed or not. My problem is that because this was added as a package ...
user avatar
1 vote
0 answers
68 views

Can I combine 2 UnrealEngine forks?

I am using Daz Gen 8 characters and clothes in my project. After I read this I decided to use a fork of UE4 which uses Dual Quaternion Skinning. Basically if you use Daz characters under UE4, they ...
user avatar
0 votes
0 answers
889 views

How to solve this Git SourceTree conflict?

I have recently joined a amateur studio as the single programmer. The previous programmers have left me the project folder. Upon trying to create a repository and a new remote to have version control ...
user avatar
  • 145
3 votes
1 answer
924 views

UnityYAMLMerge via git command line

I'm having issues getting the UnityYAMLMerge tool to work, in order to fix conflicts merging a scene in 2 different branches (myBranch into ...
user avatar
  • 131
2 votes
1 answer
1k views

Which files of addressable assets should be committed to Git?

I would like to keep my Git repository as small as possible and exclude any automatically generated files. The developers can re-build their Unity Addressable Assets themselves. Any developer should ...
user avatar
0 votes
0 answers
62 views

Storing non-binary, but non-mergable files in Git LFS

Is it acceptable to store files that aren’t binary and diffs between versions are not important in Git LFS? Examples of these files include: .obj .stl .mtl large .csv data dumps etc I know that I ...
user avatar
4 votes
1 answer
1k views

How to setup a public github unity repo with paid assets?

From what I gathered (like in this thread or here) I am allowed to push my own game code on github and choose a license, as long as I avoid putting assets I do not own. I want to make it public to be ...
user avatar
  • 143
1 vote
1 answer
330 views

Is it ok to commit to git while my Unity project is still open?

I tend to have big commits and it is related to me being tool lazy to close Rider and Unity, commit changes and then start both programms back up to make changes and repeat. I just assumed that this ...
user avatar
2 votes
1 answer
91 views

Can I run a script and generate warning when Unity project is saved?

Context: I'm working with Unity using Git and we have .gitignore setup so that we could create "_local" folder anywhere in Assets and it won't be commited. It makes for kind of a Debug/Backup folder, ...
user avatar
  • 209
1 vote
1 answer
55 views

In Unity unable to find second github branch

I'm using github for unity asset and for some reason I can't find new branch that was created on a different PC. I tried refreshing, fetching, reinstalling asset, reinstalling asset and recloning ...
user avatar
  • 13
1 vote
0 answers
671 views

SourceTree doesn't show the differences in Unity scene files?

Back in the day it worked, but for some reason in my new projects it isn't. Every other asset's difference is shown correctly in a text format (i.e. .prefab), only ...
user avatar
  • 626
1 vote
1 answer
86 views

Unity assets turned binary from text

I'm working with unity and git, and for some reason, from some point - the assets started being Binary files, meaning that they'...
user avatar
1 vote
2 answers
1k views

How to get an Unreal Engine 4 Level to sync using Git Source Control?

Hello Game Development Stack Exchange, I and a couple of collaborators are working on an Unreal Engine project, we do not share a common network, which meant that using a local network storage to ...
user avatar
0 votes
1 answer
1k views

Unity GIT - managing `.meta` files / Working with multiple repositories in Unity

(Original Question) → ScriptableObject has empty inspector after cloning from git After cloning repository from git the data from the ScriptableObject asset isn't ...
user avatar
1 vote
1 answer
359 views

Unity generates changes in GitHub on saving scene

So, here is my problem. First I have a look at the changes in the repository which I am working with. Initially there are no changes: Then I open up Unity, i don't make any changes and just save ...
user avatar
0 votes
1 answer
1k views

Prefabs were modified even it doesn't updated when commit

Me and my co-workers uses Git for saving the developing game. But sometimes, some co-worker push the commit, it contains modified prefab that he never did. Prefabs are binary files so I can't see ...
user avatar
  • 1,101
1 vote
0 answers
184 views

what file architecture to follow while uploading an sdl based C++ project to Github? [closed]

I created this sdl game containing header files source files and graphics files including tilemaps . I also have a setup file that will install a .exe file with dependencies such as dll files for sdl ....
user avatar
  • 11
3 votes
1 answer
125 views

Rearranging projects in Git and Unity

I'm attempting to rearrange a Unity project that is under source control. Two problems: In order to maintain the relationships between assets, I need to use Unity's API or interface. But when I move ...
user avatar
  • 3,775
1 vote
0 answers
134 views

Unreal 4: Checking out with Git as VCS

I have my editor configured to use git as my VCS. I have my own server in which the repo is hosted. I followed the GIT with Unreal 4 guide. My problem is that I cannot find the "Check Out" option in ...
user avatar
11 votes
1 answer
202 views

What considerations should I be aware of when placing an Unreal project under source control?

I want to give it a try to creating a git repository from my UE4 project and uploading it to Github.com but I wonder what special considerations should I have to avoid posting sensitive information ...
user avatar
  • 971
-1 votes
1 answer
2k views

Add them as submodules from Git Shell or remove their .git folders. I tried the latter, but don't know to do the former. How do I do that? [closed]

I'm trying to set up version control for my group, but I'm having trouble getting GitHub to work (I'm brand new to it, and version control in general). It keeps saying "Could not commit sub-modules: [...
user avatar
  • 129
0 votes
0 answers
102 views

SerializedPropertyBindings NullReferenceException

Using: Unity 4.6.1 Pro Visual Studio 2013 Pro, c# Team Foundation Connected to git vc Windows 7 Premium Building 2D iOS app (2D set up) Details: Periodically, this error is occurring. There is ...
user avatar
1 vote
0 answers
86 views

File Path conflicts on GitHub with Unity

I am getting file path errors when a contributor is making commitments to GitHub. All of these errors are file path related or extra white space on the same lines. This should be something in the ....
user avatar
0 votes
0 answers
2k views

Solution for GIT commits in Visual Studio while Unity is open?

Specifications -VS 2013 Pro (Linked with Unity) -Unity 4.6.1 -Git Version Control (Linked with Visual Studio 2013) Summary After much research, I haven't found any solutions to this fix. *While ...
user avatar
1 vote
1 answer
939 views

Compiling the Latest MonoGame.dll on GitHub

I've been searching for hours, but still I cannot find "How to compile the latest MonoGame source code from GitHub". I have tried cloning the GitHub project (develop branch) and I've been looking for ...
user avatar
  • 191
34 votes
3 answers
31k views

Which Unreal Engine 4 project files can I ignore in source control?

I want to put an Unreal Engine 4 project under source control with git. (I know the editor has Perforce and Subversion support, but I don't care for those.) What folder and files do I include in the ...
user avatar
  • 2,826
10 votes
2 answers
5k views

problem with git on a unity project

I tried to version control my project folder with git. When it came to pull the project from the repository, though, something went wrong: apparently scripts are missing and the prefabs and kind of ...
user avatar
  • 328
10 votes
3 answers
5k views

Source control for storing everything of game project?

Is it usual to manage not only source code, but all assets, textures, art, documentation files, etc under git repository for version controlling? For example I wanna to get back old version of texture....
user avatar
  • 378