aboutsummaryrefslogtreecommitdiff
path: root/git-push-to-deploy
blob: 66224669ce6c2b0404c46ce02ae1a1a12a58ded7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
#
# Implements push-to-deploy, emulating the functionality
# from git 2.3.
#
# References
#
# https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps
# https://github.com/blog/1994-git-2-4-atomic-pushes-push-to-deploy-and-more
# http://krisjordan.com/essays/setting-up-push-to-deploy-with-git
# https://petecoop.co.uk/blog/git-2-3-push-deploy
# http://superuser.com/questions/230694/how-can-i-push-a-git-repository-to-a-folder-over-ssh
# https://devcenter.heroku.com/articles/git
# https://github.com/blog/1957-git-2-3-has-been-released (push-to-deploy)
# https://github.com/git/git/blob/v2.3.0/Documentation/config.txt#L2155
# http://stackoverflow.com/questions/1764380/push-to-a-non-bare-git-repository
# http://bitflop.com/tutorials/git-bare-vs-non-bare-repositories.html

# Still to be coded
echo TODO :P