All Scenarios
๐Ÿ—‘๏ธEnterprise

Clean Up Merged Branches

Prune branches deleted on GitHub, find which local branches are merged, and delete them safely.

6 minutes
Medium
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 / 166s
commitring = the commit HEAD is onunreachable (still exists)branch = movable labelorigin/* = your bookmark of the remoteHEAD = where you are