Skip to content

Instantly share code, notes, and snippets.

@cibernox
Created July 23, 2013 12:11
Show Gist options
  • Save cibernox/6061897 to your computer and use it in GitHub Desktop.
Save cibernox/6061897 to your computer and use it in GitHub Desktop.
# Git subtree usage
# Commit your changes as you always did
git add .
git commit -m "Some changes"
# From time to time, you can submit all the changes you made in the folder of your subproject to the main project.
git subtree push -f --prefix=app/assets/javascripts/gmapp/models/ goldenmanager-ember-models master
# Also, from time to time you should pick changes from the subtree remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment