Skip to content

Instantly share code, notes, and snippets.

@pejman-hkh
Created November 11, 2023 07:21
Show Gist options
  • Save pejman-hkh/b05c22192887d0cfbf9e045bdda1332b to your computer and use it in GitHub Desktop.
Save pejman-hkh/b05c22192887d0cfbf9e045bdda1332b to your computer and use it in GitHub Desktop.
git automerge with post-update
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
DIR="$( pwd; )""/../";
git --work-tree=$DIR merge pejman;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment