metno / emep-ctm

Open Source EMEP/MSC-W model
GNU General Public License v3.0
29 stars 19 forks source link

Subtree for tools #10

Closed avaldebe closed 8 years ago

avaldebe commented 8 years ago

MAybe we should keep the tools in a separate branch/git-subtree, as it is done for source and docs

avaldebe commented 8 years ago
git checkout -b tools master
git filter-branch --prune-empty --subdirectory-filter tools tools
git push -u origin tools
git branch --set-upstream-to=origin/tools tools
git checkout master
git rm -r tools/
git commit -m "move tools into own branch"
git subtree add --prefix=tools origin tools --squash
git subtree pull --prefix=tools origin tools -m "update subtree"
git push -u origin master