Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 700 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 700 Bytes

Git Files To Automate Creating Unity Projects

For Mac OS X Users

Add the function below to ~/.bash_profile

setupunity() {

    git init
    curl -o .gitignore https://raw.githubusercontent.com/emre2345/unity-git-setup/master/unity.gitignore
    curl -o .gitattributes https://raw.githubusercontent.com/emre2345/unity-git-setup/master/unity.gitattributes
    cd Packages && curl -o manifest.json https://raw.githubusercontent.com/emre2345/unity-git-setup/master/unity.manifest && cd ..
    git add .
    git commit -m "Initial commit."

}

This comment must be run after creating the unity project with the Unity Hub. Otherwise command will not be able to find the Packages folder.