How does version control with LabVIEW VIs work?

Does anybody have experience with version control and LabVIEW? Since LabVIEW VIs are not text-based, how does it work? I would like to use git but I have a few questions:

  • Using Git and Dropbox together effectively?
  • How to remove/avoid committed files to go to master Branch from remote branch
  • How to discard changes that are already pushed to remote?
  • What is your way to keep binary dependencies in the version control system?
  • Do I need to commit in Git, when should I do this, and how can I revert to old versions?
  • what is the git equivalent for revision number?
  • How to use environment variable for Git remote URL
  • Lost changes in git merge after marking a separate file as “resolved”
  • 2 Solutions collect form web for “How does version control with LabVIEW VIs work?”

    When committing changes, does git recognize the differences in the VI or does it replace the whole file with the new one? Does this result in a large expansion of the repository?

    VIs are binary files, and so git will save the updated version as a new object. This can cause a LabVIEW repository to grow faster than a pure text-based source base.

    Is there a possibility to merge different versions of a VI?

    Yes. There is a tool that installs with LabVIEW called LVMerge.exe which can do this.

    Or is there a version control that works better for LabView?

    I like and use git with LabVIEW. I also use these helpers:

    • LabViewGitEnv — for diff and merge
    • VIKit — to detect VI versions

    To be fair LabVIEW is more suitable with the SVN.

    There is an easy way to integrate LabVIEW SVN merge and SVN diff in tortoise SVN.

    Please read this article: http://digital.ni.com/public.nsf/allkb/1A300A1BB1833EE786257A7C0077B422

    Also, there is a toolkit for LabVIEW to work with SVN directly from LabVIEW Project.
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/211524

    Here is the help to start working with the git: https://decibel.ni.com/content/docs/DOC-37416

    You can setup git diff and git merge for LabVIEW.

    Git Baby is a git and github fan, let's start git clone.