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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -