Move folder in all git branches -
we have central repo 20 branches, use layout like:
/.gitignore /file1.txt /file2.txt now should changed to
/.gitignore /projectfolder/file1.txt /projectfolder/file2.txt in branches. how approach in git? change in branches? merge master , rename there? there magical command batch rename in branches?
use scripting provided system , apply commands branches in for cycle.
something in bash:
for in $branches; git checkout $i .... git commit -m "moved files" done
Comments
Post a Comment