2014年1月29日水曜日

FABMについてもっと習った

How to initialize & restore with measurements:
http://sourceforge.net/apps/mediawiki/fabm/index.php?title=Setting_up_a_simulation#Prescribing_biogeochemical_variables

"~/.profile" to export variables on log-in. <-- do this instead of creating "doit" executable in "src" directory.

Avoid having gotm-cases inside gotm-git.

Try to minimize editing the preexisting files to avoid conflicts.


"make distclean" to clean completely.

Add "pushurl" in ".git/config" to customize your git repository.

"git remote add model1 git://PATH2REPOSITORY" to add "model1" in your local.

git status
git pull --> update from remote to branch
git log
git remote --> list of added repositories in remote
git branch --> list of added repositories in local (branch)
git fetch

git checkout master --> switch the branch to "master"

git add --> add updates to branch
git commit --> update branch
git push --> update from branch to remote

The definitions of repository, branch, master, and origin are ambiguous here (currently learning...).

0 件のコメント:

コメントを投稿