all repos — website @ d566d2d6b6ead8fa0d96070248b4a4501c00f088

personal website hosted at prithu.xyz, built using hugo

posts: add description to post
Prithu Goswami pg@prithu.dev
Sun, 01 Jan 2023 19:57:24 +0530
commit

d566d2d6b6ead8fa0d96070248b4a4501c00f088

parent

e64a7717b86ff0ba994d4e9c462bcdb343d9090d

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M content/posts/git-remote-hooks.mdcontent/posts/git-remote-hooks.md

@@ -1,6 +1,7 @@

--- title: "Using server-side git hooks to auto publish blog posts" date: 2020-10-28T00:20:37+05:30 +description: "Setting up a server side git hook to automatically build this hugo site which is then served by nginx" --- Git hooks are great to automate your software development workflow. They can be

@@ -29,7 +30,7 @@ ```

$ git clone git@git.prithu.xyz:website ``` -There are other ways you can set up a remote git repository - using the git or +There are other ways you can set up a remote git repository—using the git or http protocols. I would suggest one reads the chapter [Git on the Server](https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols) from the wonderful book on git - [Pro Git](https://git-scm.com/book/en/v2) to get to