mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
ParaView-5.0.1: Added the source-tree to ThirdParty-dev and patched as described in the README file
Resolves bug-report http://bugs.openfoam.org/view.php?id=2098
This commit is contained in:
25
ParaView-5.0.1/Utilities/Scripts/SetupGitAliases.sh
Executable file
25
ParaView-5.0.1/Utilities/Scripts/SetupGitAliases.sh
Executable file
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "Setting up useful Git aliases..." &&
|
||||
|
||||
# General aliases that could be global
|
||||
git config alias.pullall '!bash -c "git pull && git submodule update --init"' &&
|
||||
git config alias.prepush 'log --graph --stat origin/master..' &&
|
||||
|
||||
# Staging aliases
|
||||
stage_disabled="ParaView no longer uses the topic stage. Please use GitLab." &&
|
||||
git config alias.stage-cmd '!sh -c "echo '"${stage_disabled}"'"' &&
|
||||
git config alias.stage-push '!sh -c "echo '"${stage_disabled}"'"' &&
|
||||
git config alias.stage-branch '!sh -c "echo '"${stage_disabled}"'"' &&
|
||||
git config alias.stage-merge-next '!sh -c "echo '"${stage_disabled}"'"' &&
|
||||
git config alias.stage-merge-master '!sh -c "echo '"${stage_disabled}"'"' &&
|
||||
git config alias.stage-merge '!sh -c "echo '"${stage_disabled}"'"' &&
|
||||
|
||||
# Gerrit aliases
|
||||
gerrit_disabled="ParaView no longer uses Gerrit. Please use GitLab." &&
|
||||
git config alias.gerrit-push '!sh -c "echo '"${gerrit_disabled}"'"' &&
|
||||
|
||||
# Alias to push the current topic branch to GitLab
|
||||
git config alias.gitlab-push '!bash Utilities/GitSetup/git-gitlab-push' &&
|
||||
|
||||
true
|
||||
Reference in New Issue
Block a user