-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
i feel like it would be cool if git had “git pull —force” (the same as git push —force but instead it resets your local branch to wherever the remote is currently)
of course you can accomplish the same thing with git reset but it’s something I fairly often want to do
https://social.jvns.ca/@b0rk/111851540697408119
I like this idea. Typically, I accomplish this with
git fetch && git reset --hard @{u}
but something closer to git pull --force
would be nice.
Maybe git pull-force
or perhaps it makes more sense to stay away from git pull
, in which case maybe git resetu
or git ureset
Metadata
Metadata
Assignees
Labels
No labels