Re:Git fresh: clean up your repo in one command
by sathvikl on Thursday August 13, 2015 @04:42PM
(#10057076)
How is this different from git clean -dxf .
[ Parent
| on HN ]
Re:Git fresh: clean up your repo in one command
by imsky on Thursday August 13, 2015 @07:34PM
(#10057825)
git clean -dxf is part of git fresh -F
what git fresh also does is rebase local master against remote master, prune stale remote-tracking branches, optionally rebase current branch against remote master, optionally delete merged remote branches, optionally hard reset local master to remote master and clean the workspace, and stash/apply any uncommitted changes prior to usage.