git rebase -i --root
git update-index --chmod=+x foo.sh
git update-index --chmod=-x bar.sh
git commit --amend --author="Joe McChanged <joe@example.org>" --no-edit
git commit --amend --date="Wed Feb 16 14:00 2011 +0100" --no-edit
Change date to current time:
git commit --amend --date=now --no-edit
- Remove tracking of submodule directory:
git rm --cached submodule_dir - Remove corresonding section from
.gitmodules - Remove section from
.git/config - Make commit
- Remove sibmodule directory and
.git/modules/submodule_dir