Skip to content
Snippets Groups Projects
Commit 8fe50681 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Added script to merge changes from this repo to all subtrees.

[ skip ci ]
parent 19b21e7b
No related branches found
No related tags found
1 merge request!213Update rmoogli.py
#!/bin/bash -
#===============================================================================
#
# FILE: pull_subtree.sh
#
# USAGE: ./pull_subtree.sh
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Dilawar Singh (), dilawars@ncbs.res.in
# ORGANIZATION: NCBS Bangalore
# CREATED: 05/18/2016 01:11:59 PM
# REVISION: ---
#===============================================================================
set -o nounset # Treat unset variables as an error
set -e
set -x
if [[ `pwd` == *"/moose" ]]; then
git subtree push --prefix moose-core \
https://github.com/BhallaLab/moose-core master --squash
git subtree push --prefix moose-examples \
https://github.com/BhallaLab/moose-examples master --squash
git subtree push --prefix moose-gui \
https://github.com/BhallaLab/moose-gui master --squash
else
echo "Run this script from top-level git directory."
fi
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