Use HEREDOC rather than multiple echos
remove space before shebang

otherwise it works worse a bit in not bash shell
Merge pull request #1 from lpil/master

Use HEREDOC rather than multiple echos
Merge pull request #3 from Mendor/patch-1

remove space before shebang
Update README.md
Fix lowercase I typos
Merge pull request #6 from lpil/master

Fix lowercase I typos
Added information about the <rebase> option
Update mandatory arguments, added rebase