-
Notifications
You must be signed in to change notification settings - Fork 3
Receive the Latest Code
It is pretty simple to receive the latest code from github, provided that the git connection is already established. Follow the following the steps:
Step 1: change current folder to the desired model folder using cd command.
cd D:\base_year_models\2019baseyear\new_network\BKR3-19
Step 2: check the current commit# of your BKRCast.
git log
Step 3: Fetch all from remote.
git fetch -a
If the code you want to update is in the same branch, proceed with Step 4a. Otherwise follow Step 4b.
Step 4a: Hard set the head. Most likely the only changes a user need to make after the update are few lines on the first part of input_configuration.py. You can revise the configuration file to meet your needs after the code is updated. Or make a copy if you are not sure how to configure the model.
git reset --hard origin/develop
Step 4b: Force switch to the branch you desire. The following command line will switch to develop branch, discarding any uncommitted changes.
git checkout -f develop
Step 5: Verify the commit# to ensure you have received the desired updates. The first line in the log indicates the commit # of what you have received.
git log
-
Model System
-
Model Setup
-
Model Network
-
Land Use
-
Model Components
-
Model Directory
-
Calibration