Skip to content

Commit

Permalink
Revert "Checkout file from branch (#287)"
Browse files Browse the repository at this point in the history
This reverts commit f36bdf3.
  • Loading branch information
stdtom committed Jul 26, 2021
1 parent f36bdf3 commit e71c4c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 41 deletions.
35 changes: 0 additions & 35 deletions levels/checkout_file_from_branch.rb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/githug/level.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Level
"restructure", "log", "tag", "push_tags", "commit_amend",
"commit_in_future", "reset", "reset_soft", "checkout_file", "remote",
"remote_url", "pull", "remote_add", "push", "diff", "blame", "branch",
"checkout", "checkout_tag", "checkout_tag_over_branch", "checkout_file_from_branch", "branch_at",
"checkout", "checkout_tag", "checkout_tag_over_branch", "branch_at",
"delete_branch", "push_branch", "merge", "fetch", "rebase", "rebase_onto", "repack", "cherry-pick",
"grep", "rename_commit", "squash", "merge_squash", "reorder", "bisect",
"stage_lines", "find_old_branch", "revert", "restore", "conflict",
Expand Down
5 changes: 0 additions & 5 deletions spec/githug_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,6 @@ def skip_level
`githug`.should be_solved
end

it "solves the checkout_file_from_branch level" do
`git checkout other_branch -- app.rb`
`githug`.should be_solved
end

it "solves the remove level" do
`git remote | githug`.should be_solved
end
Expand Down

0 comments on commit e71c4c1

Please sign in to comment.