Skip to content

hscheffknecht/test_main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository tests Git submodules.

Clone this repository in PhpStorm and it should fetch automatically the submodules test_sub1 and test_sub2. You can test commits with test_main2 (commits to a submodule hier should appear and the same the other direction).

After a commit to a submodule, the reference in the main repository has changed. This needs an own commit in the main directory. PhpStorm does automatically a "git submodule update --remote" on each project update which means, that the last commit is fetched. Then you can the following code to ignore changes of the submodule reference in the main repository:

git update-index --assume-unchanged -- test_sub2 test_sub1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published