git - Saving information regarding a sparse checkout in GitHub -
i have sparse checkout folder in project stored in /root. checking out folder https://github.com/tastejs/todomvc/tree/master/examples/angularjs
/root /.git /todomvcdemos /angular /examples/angularjs /.git
i done via:
git init <repo> cd <repo> git remote add origin <url> git config core.sparsecheckout true echo "examples/angularjs/*" >> .git/info/sparse-checkout git pull --depth=1 origin master
i want able save information in repo developer can use it. how go this? if run git status there nothing checkin.
for bonus points don't want cloned files stored under '/examples/angularjs' rather in /angular folder.
Comments
Post a Comment