This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#git version 1.8.4.msysgit.0 | |
git clone --recursive https://github.com/lbf1/repo1.git | |
cd repo1 | |
cp hooks/pre-commit .git/hooks/ | |
cd sub | |
git reset --hard 062bca0f29 | |
cd .. | |
git reset --hard 84edb8e21 | |
echo change > README | |
git commit -am "change" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cloning into 'repo1'... | |
remote: Counting objects: 39, done. | |
remote: Compressing objects: 100% (23/23), done. | |
remote: Total 39 (delta 13), reused 38 (delta 12) | |
Unpacking objects: 100% (39/39), done. | |
Checking connectivity... done | |
Submodule 'sub' (https://github.com/lbf1/sub) registered for path 'sub' | |
Cloning into 'sub'... | |
remote: Counting objects: 33, done. | |
remote: Compressing objects: 100% (11/11), done. |