(configuration config.Configuration)
| 518 | } |
| 519 | |
| 520 | func reset(configuration config.Configuration) { |
| 521 | if configuration.ResetDeleteRemoteWipBranch { |
| 522 | deleteRemoteWipBranch(configuration) |
| 523 | } else { |
| 524 | say.Fix("Executing this command deletes the mob branch for everyone. If you're sure you want that, use", configuration.Mob("reset --delete-remote-wip-branch")) |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | func deleteRemoteWipBranch(configuration config.Configuration) { |
| 529 | git("fetch", configuration.RemoteName) |