On Mon, 29 Apr 2013 05:35:46 -0700 (PDT)
Mario Luzeiro <mrluze...@gmail.com> wrote:

> Hi!
> I have my project in a git repository and I want add inside it a
> library, that comes from another git project. I want to be able to
> track (or add the files of) the source code of the library project
> and the possibility to update the library project.
> So it will be possible when I checkout my project (with the library 
> source), it will be possible to update also the library project..
> 
> Is it possible to do?

Yes, using submodules [1].

It's also possible to do using the so-called subtree merging, but this
is one way: you can import the developments done in the repository
hosting that library's code but not push back any changes to did to its
code locally.

1. http://git-scm.com/book/en/Git-Tools-Submodules

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to