Kart Git And TUFLOW: Difference between revisions

Content deleted Content added
Line 37:
 
==Setting up Control File Repository==
Since most of the TUFLOW input files (exclduing GIS/GRID inputs and some boundary formats) are plain text files, it is possible to simply use Git to version these files. There are a number of ways to initialise this (and countless returns if Googled), the approach shown below is done by intialising the remote repository on Github or Gitlab first and then cloning the repository, then adding files.<Br>
 
====1. Create Remote Repository====
Create your remote repository (usually using a Blank template), setting the name and whether the repository should be public or private.
 
====2. Clone Repository====
In Git Bash, use <tt>cd</tt> to change directory to where your model is going to sit. Note, Git Bash requires forward slashes <tt>/</t>>cd
<pre>
cd c:/projects
</pre>
Use <tt>git clone</tt> to clone your newly create repository. Note make sure to use the SSH clone link if required (will start with "git@" rather than "https").
<pre>
git clone git@gitlab.com:ellis_symons/tutorial-model.git
</pre>
 
==Setting up Kart Repository==