Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-merge-repo #357

Merged
merged 1 commit into from
Apr 20, 2015
Merged

git-merge-repo #357

merged 1 commit into from
Apr 20, 2015

Conversation

imsky
Copy link
Contributor

@imsky imsky commented Apr 19, 2015

This command merges two repo histories. There's an optional --squash flag and an optional "flat merge" mode - if the incoming repo's directory is set to ., then a squash-like commit is added for the files added to the current directory.

flat=1
fi

git subtree add -P $prefix $repo $branch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind quoting the variables?

@hemanth
Copy link
Collaborator

hemanth commented Apr 19, 2015

Please squash the commits, once merged, don't forget to update the wiki.

@imsky
Copy link
Contributor Author

imsky commented Apr 19, 2015

done and done

hemanth added a commit that referenced this pull request Apr 20, 2015
@hemanth hemanth merged commit 3055a66 into tj:master Apr 20, 2015
@hemanth
Copy link
Collaborator

hemanth commented Apr 20, 2015

Sweet! 👍

tardypad pushed a commit to tardypad/git-extras that referenced this pull request Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants