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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -