Skip to content

git files to automate git setup for creating unity projects

Notifications You must be signed in to change notification settings

emre2345/unity-git-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

git files to automate git setup for creating unity projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published