I have a repo that I save to bitbucket, which stores my project. For this project I'm relying on several tools such as Bootstrap. Inside my repo I cloned the Bootstrap repo and made some local edits, but it's not being picked up, how can I store a repo in a repo?
Asked
Active
Viewed 91 times
2
-
Shouldn't the question rather be how to make the edits apply instead? – Zar Jan 20 '13 at 22:48
-
Sounds like a job for http://git-scm.com/book/en/Git-Tools-Submodules – cmbuckley Jan 20 '13 at 22:49
-
submodules sound great, but that doesnt make it save the files to my own repo – FLX Jan 21 '13 at 01:42
1 Answers
1
Submodule is the answer, except you would need to reference a fork of the Bootstrap repo instead of the original Bootstrap repo, since you need to have to make modifications in it.
You can fork a Bitbucket repo, but, in the off chance that Bootstrap isn't on Bitbucket, you can simply clone it locally, and push it back on an empty Bootstrap repo created by you on Bitbucket.