add ca alias and egg to the list of ignored files
fix post-checkout script to avoid breaking rebase