Using GitHub with KiCad 5.1

Поділитися
Вставка
  • Опубліковано 18 кві 2019
  • This video shows how to create a new git repository, create files inside of it and then update the repository. GitHub is an online provider of git repository storage, though any of the providers will work.
    For information on how to create an SSH key and link it to your account: help.github.com/en/articles/g...

КОМЕНТАРІ • 28

  • @UpcycleElectronics
    @UpcycleElectronics 5 років тому +20

    1.) Create GIThub Repository
    2.) Create the ignore files
    3.) Clone/Copy Repository address
    4.) Open Command Line Terminal
    5.) Navigate to where you save KiCAD Projects
    6.) "git clone (address)" creates a clone on computer
    7.) Open KiCAD
    8.) Create a new project (but...)
    **at the bottom left of the window uncheck the "create a new directory" option
    >>do your work like usual now, you're done with setup...

  • @KuittheGeek
    @KuittheGeek 5 років тому +9

    So I just put up a getting started with KiCad video last week, and one thing I would recommend to avoid cutting the files and moving them up a directory is to click on the check box in the bottom left corner when creating the project that says "Create a new directory for the project". If you don't have that checked, then you don't have to move the files, you can just create your file structure and initialize it. Great video though, you always do great work. I am going to be covering this on the personal GitLab side, and I am going to show how I handle my file structure and everything. I like Git Gui because I have found it to be the closest Git tool to the CLI, but I do agree that learning some of the commands is very helpful to understand what is going on under the hood.

    • @contextualelectronics
      @contextualelectronics  5 років тому +2

      Great point, I missed that selection button!

    • @KuittheGeek
      @KuittheGeek 5 років тому +1

      @@contextualelectronics It's definitely easy to do, I did the same thing for quite a while before I noticed it. :)

    • @PiotrEsdenTempski
      @PiotrEsdenTempski 5 років тому +2

      Thanks for pointing this out, I did miss the fact that there is a "make new directory" checkbox when creating a new project! TIL :D

    • @devstefancho
      @devstefancho 5 років тому

      Thanks

  • @ChristoCandiotes
    @ChristoCandiotes 5 років тому

    Excellent information. I am just starting to learn git. This practical example helps a lot

  • @avejst
    @avejst 5 років тому

    Wow, interresting arppoche
    Thanks for sharing :-)

  • @d3stinYwOw
    @d3stinYwOw 5 років тому

    For version control I can also recommend SVN, especially in enterprise enviroment, less confusing commands than git and you have user priviledges settings here + it better handles binaries, which can be mandatory on some electronics projects :)

  • @power-max
    @power-max 5 років тому +3

    Does KiCad support merging now!? I would love to use KiCad with git, I do it all the time, but the problem is that if multiple people are working on the project at the same time, we have to coordinate carefully who has a "lock" on the file so that we don't end up with 2 versions that must be merged.

  • @MikeKasprzak
    @MikeKasprzak 5 років тому +3

    Great, thanks for the quick primer. I have the opposite experience (very knowledgeable of git and total kicad noob), but I wanted to know how git friendly Kicad was. Answer: very. 👍
    At the dayjob I spend a lot of time working with Unity, which is a total-failure at GIT.

    • @d3stinYwOw
      @d3stinYwOw 5 років тому

      Because of tons of binaries, where SVN shines ;)

  • @Janamejaya.Channegowda
    @Janamejaya.Channegowda 5 років тому +1

    Thank you for the video, which software do you use to record the screen?. I love the way we can see the exact keys you press. Thank you.

    • @NicolasPimprenelle
      @NicolasPimprenelle 5 років тому

      OBS, popular software for recording and broadcast. (but I do not think it shows the keypressed)

    • @hasecilu
      @hasecilu 4 роки тому +1

      For future reference there are software that show your key in the screen like:
      carnac for Windows github.com/Code52/carnac
      screenkey for linux gitlab.com/screenkey/screenkey
      ShowKeys for OSX github.com/jmhobbs/ShowKeys

  • @_-martin-_
    @_-martin-_ 5 років тому

    It would be really useful if github/gitlab/etc. would start supporting graphical preview of .sch and .kicad_pcb files in a similar way that github already previews .gif files and allows for direct graphical comparison of revisions. This way one can easily spot schematic or pcb changes between revisions. It could be done.

    • @edgarbonet1
      @edgarbonet1 4 роки тому

      You may want to try this: github.com/jnavila/plotkicadsch

  • @d3stinYwOw
    @d3stinYwOw 5 років тому

    You don't need to use mingw64 shell, WSL is availiable, which is basically linux userspace in Windows ;)

  • @71GA
    @71GA 5 років тому

    At 9:02 you use "git add --all" for the second time but that is not needed. The command is only needed when you add new files to the project, but you just modified the schematics which you already added when you used the command for the 1st time.

  • @dj1encore
    @dj1encore 2 роки тому

    push is fine....how to push ?

  • @HoAChul
    @HoAChul 4 роки тому

    Hi,
    I have the link of github below
    github.com/o-gs/dji-hardware-schematics
    I can see the version of Kicad is 5.0.1
    I already downloaded that version but i can't see layout pcb while using
    Could you help me how to show layout pcb original
    My phantom 3 pro has crashed
    Thank you

  • @andymouse
    @andymouse 5 років тому +1

    wish I new what you are talking about

    • @jimbarchuk
      @jimbarchuk 5 років тому +1

      He didn't really say what the uses are. It's about version control, and simultaneous file editing. For one person it's good for project tracking where many files are involved, and easy file control/sharing. At the other end of the scale, it can track *anything*. Actually created by Linus Torvalds to track Linux development, so yeah that's how big it is and what it's capable of. That was a simplistic but good quick primer.

  • @LeandroSehnemHeck
    @LeandroSehnemHeck 4 роки тому

    "Key-Cad", hehe

  • @ats89117
    @ats89117 5 років тому

    Using github or any of those online respositories makes me suicidal...

  • @dj1encore
    @dj1encore 2 роки тому

    This works great for a single user, we are having a repeat issue when a user updated the PCB on github and we try to pull the updates.
    the PCB is updated by it has an error on a line number, when we open the file we can see that there is an embedded comment in the PCB;
    > 7153b4eda4df153dc41581
    Does this error look familiar ?