-
Notifications
You must be signed in to change notification settings - Fork 0
chinmayk/Resources
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
How to use this: the best best is to read this stackoverflow article: http://stackoverflow.com/questions/1811730/how-do-you-work-with-a-git-repository-within-another-repository If you're being lazy, here's the important bits. Say you have repository PROJECT1, PROJECT2, and MEDIA... cd /path/to/PROJECT1 git submodule add ssh://path.to.repo/MEDIA git commit -m "Added Media submodule" Repeat on the other repo... Now, the cool thing is that any time you commit changes to MEDIA, you can do this: cd /path/to/PROJECT2/MEDIA git pull cd .. git add MEDIA git commit -m "Upgraded media to version XYZ" This just recorded the fact that the MEDIA submodule WITHIN PROJECT2 is now at version XYZ. It gives you 100% control over what version of MEDIA each project uses. git submodules are great, but you need to experiment and learn about them. With great power comes the great chance to get bitten in the rump.
About
Shared resources that are hopefully going to be useful across multiple projects
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published