MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / reset

Function reset

mob.go:520–526  ·  view source on GitHub ↗
(configuration config.Configuration)

Source from the content-addressed store, hash-verified

518}
519
520func 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
528func deleteRemoteWipBranch(configuration config.Configuration) {
529 git("fetch", configuration.RemoteName)

Callers 8

TestStartNextWithBranchFunction · 0.85
TestResetFunction · 0.85
TestResetCommitFunction · 0.85
TestResetCommitBranchFunction · 0.85
executeFunction · 0.85

Calls 3

FixFunction · 0.92
deleteRemoteWipBranchFunction · 0.85
MobMethod · 0.80

Tested by 7

TestStartNextWithBranchFunction · 0.68
TestResetFunction · 0.68
TestResetCommitFunction · 0.68
TestResetCommitBranchFunction · 0.68