Configure

Identity

git config user.name "First Last"
git config user.email "user@domain.tld"
  • ~/.gitconfig

[user]
    name = "First Last"
    email = "user@domain.tld"

Auto-build

git config receive.denyCurrentBranch updateInstead
  • .git/hooks/post-receive (+x)

#! /bin/sh
../build_script