Commit 63cbea35 authored by Brad King's avatar Brad King

Add and configure developer setup helper scripts

Configure GitSetup scripts for KWSys.  Run them from a single
SetupForDevelopment.sh script.

Change-Id: Ic4f02175fd65e2f4fe5688e43313766c2b23458f
parent ba1e532b
.git* export-ignore
/GitSetup export-ignore
/SetupForDevelopment.sh export-ignore eol=lf
[hooks]
url = http://public.kitware.com/GitSetup.git
[gerrit]
project = KWSys
site = http://review.source.kitware.com
pushurl = $username@review.source.kitware.com:KWSys
#!/usr/bin/env bash
echo "Adding 'git prepush' alias" &&
git config alias.prepush 'log --graph --stat origin/master..' &&
echo "Adding 'git gerrit-push' alias" &&
git config alias.gerrit-push "!bash GitSetup/git-gerrit-push" &&
true
#!/usr/bin/env bash
cd "${BASH_SOURCE%/*}" &&
GitSetup/setup-user && echo &&
GitSetup/setup-hooks && echo &&
GitSetup/setup-gerrit && echo &&
GitSetup/setup-aliases && echo &&
GitSetup/tips
# Rebase master by default
git config rebase.stat true
git config branch.master.rebase true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment