Git submodules: can you make local, un-committed edits? -


i've got git submodule in project consists of set of configuration files, need tiny bit of tweaking on per-project basis.

is possible submodules, or doing things wrong way here? don't want commit changes submodule's repository, they're project-specific.

any tips or pointers appreciated.

edit: note these local edits local project, , project needs retain these changes when gets deployed server (using git , fabric).

it possible make local changes, it's not feasible.

git notice submodule has changes, , show you. cannot commit changes submodule in supermodule, because changes not pushed somewhere. when tries checkout submodule, git complain, because can't find commit has recorded submodule.

if it's per project , not per-machine difference, can create branch in submodule repository project specific changes made. these changes can commited submodule , pushed.

you have decide if want these changes part of submodule repository, way can git.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -