Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

Merge or rebase certain branches on top of remotes #5

Open
JBYoshi opened this issue Oct 16, 2015 · 1 comment
Open

Merge or rebase certain branches on top of remotes #5

JBYoshi opened this issue Oct 16, 2015 · 1 comment

Comments

@JBYoshi
Copy link
Owner

JBYoshi commented Oct 16, 2015

This would only occur if Git can automatically merge them. I'd need a way to detect what branch to add, though, and whether to merge or rebase.

I'd also like to handle rebasing submodules, but JGit doesn't seem to provide a way to get the old and new commits from a rebase.

@JBYoshi
Copy link
Owner Author

JBYoshi commented Oct 17, 2015

Apparently it's more complex than I thought. It would require either a clean working directory (as in "index matches HEAD, working directory matches index") or support for multiple working directories, which JGit doesn't have. It would also mess up any programs using the working directory at the time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant