以下のgitignoreファイルで、Unity2017.04版は正常にクローンしてビルドできました。
https://raw.githubusercontent.com/github/gitignore/master/Unity.gitignore
空のAssetsフォルダをリポジトリに含めるために以下のように.gitkeep
ファイルを追加
> echo Assets/ .gitkeep
Unityプロジェクト用の.gitignoreファイル
以下のgitignoreファイルで、Unity2017.04版は正常にクローンしてビルドできました。
https://raw.githubusercontent.com/github/gitignore/master/Unity.gitignore
空のAssetsフォルダをリポジトリに含めるために以下のように.gitkeep
ファイルを追加
> echo Assets/ .gitkeep