Sharing code base
mkdir <REPO_NAME>
cd <REPO_NAME>
git init --barecd hooks
nano post-receive#!/bin/sh
git --work-tree=<CODEBASE_PATH> --git-dir=<REPO_PATH> checkout -f masterchmod +x post-receivegit remote add ml_workstation ssh://ml_workstation/<REPO_PATH>/Last updated
Was this helpful?