Kart Git And TUFLOW: Difference between revisions
Content deleted Content added
Ellis Symons (talk | contribs) |
Ellis Symons (talk | contribs) No edit summary |
||
Line 2:
* This wiki page was written with Kart v0.12.2 which is still considered a pre-release version. Kart is in rapid development and some of the constraints and/or methods may no longer be valid or have changed in subsequent versions.
* The examples on the page use git bash (on Windows) which is installed with Git. A lot of the methodology can also be done throught Windows command prompt with the same syntax however on this version of Kart, for private remote repositories, Kart will not prompt for any authentication while using command prompt and will simply fail to push/pull. Git bash will prompt for authentication and is also easier to save passwords and add ssh keys (required for Github) so is a lot better to use in these contexts. For consistency, it will be adopted for all examples over command prompt.
* The examples below have used SSH authentication with either Gitlab or Github. The SSH authentication appears to be work better with Kart.
==Software and Installation==
Line 15 ⟶ 16:
kart.exe commit -m "commit message"
</pre>
Using kart with Windows command prompt will accept simply <tt>kart</tt> and all the Kart documenation suggests just using <tt>kart</tt>, but just be aware that ".exe" will be required if using Git Bash.<br>
Git Bash can be opened up from the start menu. The examples on this page all use the SSH authentication method as it this approach appears to currently work better with Kart. You will need to set this up on the remote server you are using (e.g. Github or Gitlab). The steps on how to set up an SSH key is linked below, the instructions are for Github, however the process is very similar for Gitlab.
* <b><u>[https://docs.github.com/en/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys Check for existing SSH keys]</u></b> (if you have already set one up and need to find it's name)
* <b><u>[https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent Generate an SSH key]</u></b>
* <b><u>[https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account Adding an SSH key]</u></b>
==Setting up Control File Repository==
| |||