Sha256: 749d618780b9f9660e01e04cc6147f8d3993f1a89bc4e6bdcc184e36b9f06894

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 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")
  system "git branch -m master"
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

1 entries across 1 versions & 1 rubygems

Version Path
githug-0.5.1 levels/remote_url.rb