-
Notifications
You must be signed in to change notification settings - Fork 1
Artist git cheatsheet
This is a small document to help artists use some git stuff. Mostly about pull requests.
-
Pull request
- Where to make?
- Making a pull request
- Apply feedback
- Rename file
- Wrong folder
- Prefab
- Meta files
When you have a commit on your branch, you need to make a pull request. This is done so others can check your work and integrate it into the project.
There are 2 ways to make a pull request:
After committing your branch and going to the project repo, you will see the following:
Open a pull request suggestion
After committing your branch you will see this blue button, click on it.
Make pull request button
Making a new pull request
When making a pull request you see something like this image above. You can do the following steps.
- Assign yourself (this will make easy to see whose pull request it is)
- Add labels (like a
art
orready for review
label) - If having only 1 commit, you can rename the pull request to the branch name. (In this case
art/poster-model
) - Add a reviewer, a lead artist or git master.
- If needed, added a description. (List of assets added. Or tell the changes made to an existing asset.)
Finished pull request
Now create the pull request and wait for someone's review or approval.
After getting some feedback and applying it, you can resolve the comments. This makes sure that you and others know what feedback you have applied.
Old feedback
Renaming feedback
The red line are the folders of the asset.The green line is the model.
Now you can rename the asset and commit again or apply more feedback.
Wrong folder feedback
The red line are the folders of the asset.The green line is the model.
To fix this simply move the textures into the right folder.
If there are many textures that are similar, you should make a subfolder. In this case
textures/posters
.
Make art into prefab so it can be used. To do so, follow the steps:
- Have a Unity scene open.
- Drag your assets with all settings or textures etc ready.
- Drag your assets form the
hierarchy
window into theproject
window, this should be done with the correct folder open. (Prefab) - Test your prefab, if nothing wrong, make a commit.
A meta file is an Unity auto generated file that will be made when adding any file into the project. If they are missing there will be problems.
Missing meta file
To fix this, simply open Unity and commit the generated meta file.
This should not be a problem, because you need to test your art inside Unity before committing.