You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into this just recently. I don't think JGit provides a true orphan checkout. Though I saw some other ways on StackOverflow that could get the same functionality using clean. I'll add it to the wishlist.
If you come up with a way to do this before I get to it, feel free to contribute a pull request.
I would like to perform a
git checkout --orphan <new_branch>
from a Gradle build script. Would this be feasible to implement?Thanks for grgit!
The text was updated successfully, but these errors were encountered: