git - is there a way to get only required files in the working directory -


i'm new git , trying use project has many (several hundreds) sources. problem have git extracting project's sources working directory when doing checkout. makes lot of mess have jump between files , can unintentionally change/corrupt files wasn't planning change. prefer extract sources i'm going modify , work them. so, there way tell git going work specific sources, , so, these sources extracted working directory? note, not partial checkout or this. i'm ok checkout whole branch. it's more organising working folder. thanks.

if relevant sources in specific subfolder, can sparse checkout, in order checkout specific subfolder content (which declare in .git/info/sparse-checkout file, mention here).

if not, need move them folder (reorganization), or isolate them own repo (and add them main repo submodule)


the other alternative use ide support task-based context filtering.
instance eclipse mylyn, mention in "eclipse - easy access used folders?".
mylyn task-focused interface using context:

http://i.stack.imgur.com/a7wnl.png

that might not part of stack, illustrates how issue of getting "only few files related change i'm doing in working folder" can addressed.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -