element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
PCB Design, Prototyping and Production
  • Products
  • More
PCB Design, Prototyping and Production
PCB Forum Using git for version control in KiCad
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join PCB Design, Prototyping and Production to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 19 replies
  • Subscribers 113 subscribers
  • Views 2041 views
  • Users 0 members are here
  • kicad
  • git
  • pcb design
Related

Using git for version control in KiCad

colporteur
colporteur over 1 year ago

I would like to manage my KiCad projects better. I recently started using git for Arduino projects with VSCode.

Will git work with KiCad? Do you have any resources you could share to do a setup?

My internet search has taken me down a few rabbit hole. I figure someone here has found the right rabbit hole.

  • Sign in to reply
  • Cancel

Top Replies

  • Fred27
    Fred27 over 1 year ago in reply to javagoza +1
    This can come in useful too! https://ohshitgit.com/
  • cstanton
    cstanton over 1 year ago +1
    I'm a simple person. I register for a github account, and I create a private github repository. I then install github for desktop, and I stick all of my files in the repository, manage it all via the…
  • dougw
    dougw over 1 year ago

    I haven't tried it but Helix Core is free and unlimited for up to 5 users.

    https://www.perforce.com/p/vcs/vc/free-version-control?utm_source=googleadwords&utm_medium=cpc&utm_campaign=VCS-Version-Control-Search-NA&utm_adgroup=Version-Control-Trial-NA-Search&utm_term=version%20control&gad_source=1&gclid=EAIaIQobChMImvPMjovGhgMVW0b_AR2GAQYjEAAYASAAEgKm1vD_BwE

    Apparently it works well with git...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Fred27
    Fred27 over 1 year ago in reply to dougw

    Perforce Helix Core is an alternative to Git rather than working with it. It tends to be used in video game development because it's supposed to handle large binary asset files better. It's awful, and reminds me of how source control used to be in the 90s. I strongly suggest avoiding it.

    If KiCad projects are text files - which I believe they are - then Git will work fine. There's a bit of learning curve to Git if you stray off piste or make a mistake, but it's the industry standard for a reason.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew J
    Andrew J over 1 year ago

    I’ve not used git with Kicad but I see no reason it wouldn’t work if it’s just you using it.  If it’s a team and you share and work on the designs then it may be an issue keeping the project file in sync, best you could do is try it and see.  There are no direct links between Kicad and git so you can’t manage it with Kicad and instead will need to use an external mechanism: command line (blech!) or a gui tool such as GitKraken.  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • koudelad
    koudelad over 1 year ago

    Which OS are you using?

    Version control can be used for anything, I believe KiCAD has mostly text based source files, but even binary files can be versioned.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Fred27
    Fred27 over 1 year ago in reply to koudelad

    What difference does the OS make? KiCad and Git both run fine on Windows and Linux.

    Yes - Git handles binary files just fine (and even large ones well now). It's only really merging that's the issue with binary. That's unlikely to affect solo KiCad projects.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • koudelad
    koudelad over 1 year ago in reply to Fred27

    The difference is in the installation and usability.

    In most Linux distributions is installing git matter of one command, setting, two commands, and creating repository one command.

    https://git-scm.com/download/linux

    With Windows, Next > Next > Finish installer with some not so obvious questions needs to be run (adding to path, selecting line ends - because Microsoft always wants to do things differently, installing terminal emulator! ).

    https://git-scm.com/download/win

    For me and many coworkers it was easier to use Windows Subsystem for Linux and manage version control from this virtual environment even on the Windows drives.

    Anyway, I recommend starting here: https://git-scm.com/book/en/v2

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • koudelad
    koudelad over 1 year ago in reply to koudelad

    I also forgot to mention OpenSSH, OpenSSL and Credential manager installation on Windows. I know, all is embedded in the installer, but many new users get stuck here, installing tools that are standard in Linux distribution and installing this to Windows.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • javagoza
    javagoza over 1 year ago in reply to koudelad

    Although I have no fear of the command line, there is a very simple interface option for Windows that I have used for a long time.

    TortoiseGit – Windows Shell Interface to Git

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • javagoza
    javagoza over 1 year ago

    If you want to have a fun time learning git, this is a little gem:
    https://learngitbranching.js.org/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • koudelad
    koudelad over 1 year ago in reply to javagoza

    I just tried this, the look is great, but not sure, if absolute beginners will get it. 

    The first exercise is about creating commits - just type in "git commit" twice to finish. - This NEVER works in real life, see here: https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository

    So I do not recommend this.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube