All pastes #2082543 Raw Edit

gitsub

public shellscript v1 · immutable
#2082543 ·published 2011-09-24 18:38 UTC
rendered paste body
#!/bin/shmkdir subcd subecho hello > filegit initgit add .git commit -m "Initial"cd ..mkdir supercd superecho hello2 > afileecho hello3 > testgit initgit submodule add $PWD/../subgit add .git commit -m "Initial"echo goodbye > sub/fileecho goodbye2 > afileecho goodbye3 > testgit update-index --assume-unchanged subgit diff