Ashwini Kumar writes:

> Have a repository with two remotes, one remote points to an open-source 
> code which I just use to pull the boilerplate code from, Second remote 
> being my personal work which points to a private repo
>
>
> My requirement is to fetch from the open-source repo but I do not want any 
> of the commit history from this open-source repo to be part of my private 
> repo

Your question is related to git, not really to gitlab.

As I understand your question you would like to push only part of the
history to your private remote. I gather you want that mainly to keep
the private remote small.

AFAIU that simply isn't possible with git. Git requires each remote to
be self-contained. That is, if I were to be given access to your private
remote I must be able to clone from it, and that requires the full
history.

/M

-- 
Magnus Therning,  magnus.thern...@cipherstone.com
Cipherstone Technologies AB
Theres Svenssons gata 10, 417 55 Gothenburg, Sweden

Java is, in many ways, C++--.
     -- M Feldman

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/87twlj71e7.fsf%40sobel.cipherstone.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to