63
68

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

UnityでGit管理するときの設定項目

Last updated at Posted at 2016-05-26

Unityの設定

  1. [Edit] -> [Project Settings] -> [Editor]を選択
  • Inspectorビューを開く
  • [Version Control] のModeを [Visible Meta Files] に変更
  • [Asset Serialization] のModeを [Force Text] に変更

Gitの設定

  • .gitignoreを作成し以下を記述する
.gitignore
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/Assets/AssetStoreTools*

# Autogenerated VS/MD solution and project files
ExportedObj/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd


# Unity3D generated meta files
*.pidb.meta

# Unity3D Generated File On Crash Reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

めんどくさいのでスクリプト化しました

毎回、同じ作業をするのが面倒なので以下のエントリにスクリプト張ってます。

参考リンク

63
68
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
63
68

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?