Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Utilities/GitSetup/config.sample
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,3 @@
[stage]
#url = git://public.kitware.com/stage/Project.git
#pushurl = [email protected]:stage/Project.git

[gerrit]
#project = Project
site = https://review.source.kitware.com
# pushurl placeholder "$username" is literal
pushurl = [email protected]:Project
73 changes: 0 additions & 73 deletions Utilities/GitSetup/git-gerrit-push

This file was deleted.

3 changes: 0 additions & 3 deletions Utilities/GitSetup/setup-git-aliases
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ git config alias.pr-clean '!git checkout master ; git for-each-ref refs/heads/pr
# Alias to push the current topic branch to GitHub
git config alias.review-push "!bash Utilities/GitSetup/git-review-push"

git config alias.gerrit-push \
"!bash -c 'echo \\\"git gerrit-push\\\" is deprecated. Please use \\\"git review-push\\\" instead.'"

# Useful alias to see what commits are on the current branch with respect to
# upstream/master
git config alias.prepush 'log --graph --stat upstream/master..'
13 changes: 0 additions & 13 deletions Utilities/SetupForDevelopment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,6 @@ git config branch.master.rebase true
git config rebase.stat true
git config branch.master.rebase true

# Disable old Gerrit hooks
hook=$(git config --get hooks.GerritId) &&
if "$hook"; then
echo '
ITK has migrated from Gerrit to GitHub for code reviews.

Disabling the GerritId hook that adds a "Change-Id" footer to commit
messages for interaction with Gerrit. Also, removing the "gerrit" remote.' &&
git config hooks.GerritId false
git config --get remote.gerrit.url > /dev/null && \
git remote remove gerrit
fi

# Record the version of this setup so Hooks/pre-commit can check it.
SetupForDevelopment_VERSION=1
git config hooks.SetupForDevelopment ${SetupForDevelopment_VERSION}
Loading