mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
"branch-remove" level
This commit is contained in:
parent
3904abb6c4
commit
803f4f897a
3 changed files with 53 additions and 1 deletions
scenes
|
@ -123,7 +123,7 @@ func dropped_on(other):
|
|||
else:
|
||||
argument = other.id
|
||||
|
||||
if (command.begins_with("git checkout") or command.begins_with("git rebase")) and argument.begins_with("refs/heads"):
|
||||
if (command.begins_with("git checkout") or command.begins_with("git rebase") or command.begins_with("git branch -D")) and argument.begins_with("refs/heads"):
|
||||
argument = Array(argument.split("/")).pop_back()
|
||||
|
||||
var arg_regex = RegEx.new()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue