Mastering Git by 2016
Author:2016
Language: eng
Format: mobi, epub
Publisher: Packt Publishing
Advanced rebasing techniques
You can also have your rebase operation replay on something other than the target branch of the rebase with --onto <newbase>, separating selected range of revisions to replay from the new base to replay onto.
Let's assume that you had based your featureA topic branch on the unstable development branch named next, because it is dependent on some feature that was not yet ready and not yet present in the stable branch (master). If the functionality on which featureA depends was deemed stable and was merged into master, you would want to move this branch from being forked from the next to being forked from master. Or perhaps, you started the server branch from the related client branch, but you want to make it more obvious that they are independent.
You can do this with git rebase --onto master next featureA in the first case, and git rebase --onto master server client in the second one.
Fig 6: Rebasing branch, moving it from one branch to the other
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9916)
The Mikado Method by Ola Ellnestam Daniel Brolund(9779)
Dependency Injection in .NET by Mark Seemann(9340)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7779)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Svelte with Test-Driven Development by Daniel Irvine(7169)
Test-Driven Development with PHP 8 by Rainier Sarabia(6896)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6766)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6533)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6416)
Web Development with Django by Ben Shaw Saurabh Badhwar(6231)
React Application Architecture for Production by Alan Alickovic(5954)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
Kotlin in Action by Dmitry Jemerov(5064)
Audition by Ryu Murakami(4583)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4455)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4317)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4302)
Functional Programming in JavaScript by Mantyla Dan(4038)
