Is there a way to un-git folder/files in ALL branches at once? -


i added directory track .gitignore. know have

git rm -r --cached path/to/the/directory/ 

to remove index. seems have in every single branch have.

is there short way

  1. synchronize .gitignore on branches?
  2. run git rm -r --cached path/to/the/directory/ (or that) branches @ once?

is there short way synchronize changes in file (.gitignore) , untrack multiple files on branches?

no. reason such change requires commit. , cannot synchronize commits automatically on multiple branches. instead, expected explicitly carry on changes branch. there multiple ways this, including merging branches, or cherry-picking individual commits.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -