Jump to content

How should I set up Git for LabVIEW?


Recommended Posts

Hi,

You can try looking at the following for a list of online hosting facilities:

http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_facilities

Bitbucket offers a free service:

https://bitbucket.org/?page=overview

From reading the forums, SVN is popular. Assembla is a free limited (1Gb) hosting service:

https://www.assembla.com/home

I found Assembla quite good, and offers a few guides to get you started.

Link to comment

Hi Crockett,

I tried this lately with some success. I would recommend a couple of tools potentially.

Using tortoiseGit then allows you to use similar settings to tortoiseSVN for diff and merge. I personally didn't like tortoiseGit very much for the workflow, I felt like it hid a lot of the functionality I was seeing on the web so I installed git extensions for windows for the day to day workings but tortoiseGit for merge and compare because git extensions runs in Cygwin so it wasn't very easy/impossible to point this directly to lvcompare.

I have only got as far as experimentation though so someone may have a more complete opinion after using it for a while.

Link to comment

It turned out that tortoiseGit's diff and merge tools were separate from git.

I succeeded in configuring tortoiseGit with LVMerge and LVDiff.

Although I haven't really succeeded in configuring git with LVMerge and LVDiff, I think it would be better to configure difftool and mergetool than low level diff and merge drivers for LabVIEW.

There are two reasons.

1) If I set up a low level diff driver for LVDiff, git extensions would launch LVDiff whenever I select a file in git extension's commit window, which is very annoying.

2) If I set up a low level merge driver for LVDiff, every "git merge" operation might launch LVMerge for every file that needs merging, which again can be annoying.

Since neither tortoiseGit nor git extensions doesn't use "git difftool" or "git mergetool", setting difftool and mergetool along with tortoiseGit for LabVIEW would make it easier to use both tortoiseGit and git extensions.

Edited by crocket
Link to comment
  • 1 year later...

The amount of information out there can sometimes be overwhelming. I did not do an in depth study since my team had made the decision to use TortoiseGit & LabVIEW.

A good tutorial for TortoiseGit (I do not make a buck if you click on any of the links :)) at

Git Bash is commmand line version of Git Version Control System, TortoiseGit is Windows interface.

 

I have been able to configure TortoiseGit with LVCompare. Instructions are at https://www.labviewhacker.com/doku.php?id=learn:software:github:getting_started

 

I can connect you with more references, let me know.

Edited by kapurm
Link to comment

I personally have been using BitBucket as my hosting site, since unlike GIThub they allow you to have private repos for free.  I found this link to be really helpful for getting SSH keys setup for Bitbucket.  I didn't have a lot of experience generating and using keys before so hopefully it helps.

 

http://guganeshan.com/blog/setting-up-git-and-tortoisegit-with-bitbucket-step-by-step.html

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.