All pastes #2082538 Raw Edit

gitsub

public shellscript v1 · immutable
#2082538 ·published 2011-09-24 18:31 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 > testgit update-index --assume-unchanged subgit diff