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

Add and configure developer setup helper scripts

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

Change-Id: Ic4f02175fd65e2f4fe5688e43313766c2b23458f
parent ba1e532b
.git* export-ignore
/GitSetup export-ignore
/ export-ignore eol=lf
url =
project = KWSys
site =
pushurl = $
#!/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" &&
#!/usr/bin/env bash
cd "${BASH_SOURCE%/*}" &&
GitSetup/setup-user && echo &&
GitSetup/setup-hooks && echo &&
GitSetup/setup-gerrit && echo &&
GitSetup/setup-aliases && echo &&
# 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