Is there a HOWTO or tutorial for how to control owner, group, and
permissions on files as they get checked in? The ideal is that the owner
and group change to X and Y and the permissions are set to 770. I'd
like to figure out how to do and test that.
For ownership there's no point.When you
On Tue, 9 Dec 2014 10:32:28 -0800 (PST)
leam hall leamh...@gmail.com wrote:
Is there a HOWTO or tutorial for how to control owner, group, and
permissions on files as they get checked in? The ideal is that the
owner and group change to X and Y and the permissions are set to
770. I'd like to
This is a possible workaround:
cat ./.git/hooks/post-checkout -EOF
#!/bin/bash
chmod files
true
EOF
cat ./.git/hooks/post-rewrite -EOF
#!/bin/bash
cat /dev/null
chmod files
true
EOF
chmod u+x ./.git/hooks/post-{checkout,rewrite}
--
Daniel Fanjul Alcutén
On Thu, 11 Dec 2014 02:29:27 -0800 (PST)
Dharshan Bharathur dharshan4h...@gmail.com wrote:
Hi all,
i enabled post-merge hook with following shell script
#/usr/bin/env bash
echo == following are changes made to local repo ==
git fetch git log ..origin/master --pretty=format:%s -
On Mon, 15 Dec 2014 09:50:31 -0500
wor...@alum.mit.edu (Dale R. Worley) wrote:
[...]
As far as I know, there is no syntax to identify the oldest commit on
the current branch. But
git log --pretty=tformat:%h %ai %s
will list all the commits that are part of the current branch, and