Auto push after git commit

Git hook allow you to perform tasks when some changes happen on a git repository. To automatically push code when you make a commit, create hook file .git/hooks/post-commit

Add

Thats all. Unlike normal bash scripts, git hooks don’t need 755 permission to run. Example

See git […]

Read More…