Best way to do version control in linux embedded project?

I am starting work on a new embedded Linux project. The project will consist of an integrated board running Linux, some drivers (possibly some custom drivers), and an application on top. I work with another person, and we need a way to put the project under version control.

I have used git for many projects before, and I find it wonderful, but I wonder what the best way would be to put this project in git; create separate repositories for OS, drivers and applications? Am I putting everything in one giant repository? Do not put the OS under version control, but just an application?

Another question: do I put the source of Linux that we used in version control, or on the final product? What about the whole file system that will work on the board?

I would be grateful for any thoughts on this.

Thank!

Marlon

+3
source share
1 answer

Regarding Git:

  • placing just under one giant repo is usually a bad idea (especially when you need to clone a “giant” repo around)
  • , : Linux ( , ), (, , , Nexus).
  • : , Git ( " " ).
    , , ( " ", VCS).
+1

All Articles