All Scenarios
๐Ÿ”„Enterprise

Rebase a PR onto the Latest Main

main moved and conflicts with your open pull request. Rebase, resolve, and update the PR with --force-with-lease.

9 minutes
Hard
11 steps
YOUR FILES โ€” ONE FILE, THREE PLACESWorking diryour diskStagingnext commitHEADlast commitadd โ€บcommit โ€บGITUALIZEโ˜ ORIGIN โ€” github.com/acme/shop (another repository)YOUR REPOSITORY โ€” .git on your laptop2e039acAdd homepage2e039ac897849007af489a58ee9eec107a21974e Add homepageb272b3aSet up projectb272b3abaca08f2f1c56c0562679f66a61035535 Set up project129c2dbInitial commit129c2db06bfe68f8469dc82e6e05d1c03d1f768c Initial commit2e039acAdd homepage2e039ac897849007af489a58ee9eec107a21974e Add homepageb272b3aSet up projectb272b3abaca08f2f1c56c0562679f66a61035535 Set up project129c2dbInitial commit129c2db06bfe68f8469dc82e6e05d1c03d1f768c Initial commitmainmain: a movable label on a commitorigin/mainorigin/main: your LOCAL bookmark of where origin's branch was at your last fetch/pushHEADHEAD โ†’ the branch you are onmainmain: as it exists ON originREADME.mdunchangedapp.jsunchangedindex.htmlunchangedv1v1v1v1v1v1v2v2v2HEAD โ†’ main โ†’ 2e039ac โ€œAdd homepageโ€
0.0s / 147s
commitring = the commit HEAD is onunreachable (still exists)branch = movable labelorigin/* = your bookmark of the remoteHEAD = where you are