Sha256: abfca4bba7be7511188b7ec9ef44efbd242b5fbf4156e71790af50a945410509

Contents?: true

Size: 498 Bytes

Versions: 6

Compression:

Stored size: 498 Bytes

Contents

difficulty 2

description "The remote repositories have a url associated to them.  Please enter the url of remote_location."

setup do
  repo.init
  repo.remote_add("my_remote_repo", "https://github.com/Gazler/githug")
  repo.remote_add("remote_location", "https://github.com/githug/not_a_repo")
end

solution do
  !!(request("What is the url of the remote repository?") =~ /https:\/\/github.com\/githug\/not_a_repo\/?/)
end

hint do
  puts "You can run `git remote --help` for the man pages."
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mygithug-0.5.1 levels/remote_url.rb
githug-0.5.0 levels/remote_url.rb
githug-0.4.8 levels/remote_url.rb
githug-0.4.7 levels/remote_url.rb
githug-0.4.6 levels/remote_url.rb
githug-0.4.5 levels/remote_url.rb