Longest Interactive Command Yet
Unix git puppet unix
Published: 2012-08-02
Longest Interactive Command Yet

This is perhaps the longest command I’ve ever entered on the interactive command line:

1
2
3
4
5
6
[113 sengelha@centosdev-vm]% cd modules/puppet && git init && git add --all
&& git commit -m "Initial Commit" && git remote add origin https://xxxxxxx@x
xxxxxx/scm/PM/puppet.git && git push origin master && cd ../.. && git rm -r
modules/puppet && rm -rf modules/puppet && git submodule add https://xxxxxxx
/scm/PM/puppet.git modules/puppet && git commit -m "Move puppet to submodule
" && git push

It moves a Puppet module to its own, separate git project and sets up a Git submodule reference to the moved module.