New Branch from Repo but Change the Submodules -


i have git repo contains 2 submodules. want create new branch of main app , have submodules point different "branch." quote branch understand submodules don't point branches, rather commit. don't want branch option don't want latest commit subs. can't find in documentation. 3

you create new branch in main parent repo , then:

  • go in each submodules
  • checkout each right branch want
  • go in parent repo , add , commit: record gitlink (special entry in index) of 2 submodules new sha1.

since have not configured the submodules follow branch, stay @ sha1 checked out each of them.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -