File: setupgit.sh

package info (click to toggle)
mongrel2 1.12.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 6,020 kB
  • sloc: ansic: 39,099; python: 2,833; sql: 1,555; javascript: 1,202; sh: 467; makefile: 360; asm: 189; yacc: 145; php: 73; awk: 28; sed: 5
file content (14 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
git config push.default tracking
git config branch.autosetuprebase always

which git-flow 2>/dev/null
has_it=$?
if [ ${has_it} -gt 0 ];then
  echo "************************************"
  echo "You need gitflow to hack on mongrel2"
  echo "Please see: https://github.com/nvie/gitflow"
  exit 1
fi

echo "Configuring git flow for this repository..."
git flow init -d