I added a post-commit git hook with Sublime Text 3, with the following text in it:
#!/bin/sh
git push -u origin master
What's odd is that committing from Git Bash's command line successfully pushes the project, but when I try to do the same using a package in Sublime Text, it does not work. The package is supposed to map a keyboard shortcut (ctrl+a) to commit a file, which it does, but it does not push the file afterward; it only commits it. Why would this work in the command line, but not in Sublime Text?