diff --git a/lib/feature/end.rb b/lib/feature/end.rb index b688312..b6c7fa3 100644 --- a/lib/feature/end.rb +++ b/lib/feature/end.rb @@ -24,12 +24,12 @@ module Feature git_checkout standard_branch + git_local_branch_delete feature_branch + if remote_branch(feature_branch) != "" git_remote_branch_delete feature_branch end - git_local_branch_delete feature_branch - git_prune end end