Using Git - Linux Embedded systems

The Git code repository system is very different from CVS and Subversion in that it’s a distributed system that doesn’t have a single central server. Instead, each user has a clone of some code base (if you’re imagining a tree structure of clones with one root, this is the wrong mental model) and has complete control over that clone. Because of the Git’s distributed nature, getting the code takes a bit longer the first time around. Subsequent operations are much faster.

To create a clone of a Git tree, use this command (which is for the glibc sources):

$ git clone git://sourceware.org/git/glibc.git

When the command prompt returns, you have the latest revision of the tree. To refresh the tree with the latest versions of the file, use the pull command from the top level of the repository:

$ git pull


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Linux Embedded systems Topics