Set up gitosis, and it turns out that all users are working on behalf of
one member gituser. And every time the updated files in the repository that
triggered the post-retseive:
#! / bin / bash
read oldrev newrev refname
echo REFNAME: $ refname
echo
if [$ refname == refs / heads /
On Wed, 2 Oct 2013 02:41:40 -0700 (PDT)
Maximus Fedorov stm32...@gmail.com wrote:
Set up gitosis, and it turns out that all users are working on behalf
of one member gituser. And every time the updated files in the
repository that triggered the post-retseive:
#! / bin / bash
read oldrev
On Wed, 2 Oct 2013 14:30:14 +0400
Konstantin Khomoutov flatw...@users.sourceforge.net wrote:
[...]
cd /var/www/siteA
export GIT_INDEX_FILE=`mktemp siteA.`
trap rm -f '$GIT_INDEX_FILE' INT TERM QUIT EXIT
git read-tree HEAD
git checkout-index -a -f
[...]
git read-tree HEAD
here is
Hi,
I am unable to clone a specific repository with submodules.
$ git clone --recursive https://www.github.com/lagadic/visp_auto_tracker.git
Cloning into 'visp_auto_tracker'...
remote: Counting objects: 275, done.
remote: Compressing objects: 100% (222/222), done.
remote: Total 275 (delta
Hey;
I just had the bare vs non-bare repo concept smack me in the face. Painful
way to learn things, but I won't forget it any time soon.
Since my remote repos are no longer work trees, how can I keep two bare
repos in sync? This is primarily for DR purposes.
Here's more detail in case
Apologies for replying to my own post, but I did just find the git --bare
fetch. While that seems to have worked,
# git --bare fetch ${prod}:/opt/app/git/filemover
From ${prod}:/opt/app/git/filemover
* branchHEAD - FETCH_HEAD
how do I go about getting those changes into the
Hello,
I am trying to prevent users from attempting certain operations on my
repository which is located on a Linux server by employing Server-Side
hooks. The Git manual recommends creating a shell wrapper script to set a
USER environment variable, which will then be used to restrict certain