Giter Club home page Giter Club logo

cli-treasure-hunt's Introduction

Command Line Treasure Hunt

Travel around the game to follow the clues to the answer.

Objectives

  • Navigate a file system using the command line
  • Create, list, and move files and folders

Rules

  • You can only use the command line. Don't use the Finder or VSCode files or anything like that.
  • Type node clue.js every time you land in a new folder.
  • When you've got the answer, keep the secret!
  • Type node clue.js now.

cli-treasure-hunt's People

Contributors

sallymcgrath avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cli-treasure-hunt's Issues

Space in folder name "What "

I found the repository empty after I cloned it.
I got this message after cloning

Cloning into 'CLI-Treasure-Hunt'...
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 24 (delta 2), reused 20 (delta 0), pack-reused 0
Receiving objects: 100% (24/24), 4.34 KiB | 403.00 KiB/s, done.
Resolving deltas: 100% (2/2), done.
error: invalid path 'Clues/What /clue.js'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

I tried the suggested command git restore --source=HEAD :/ but there is still one folder missing . I got this error
error: invalid path 'Clues/What /clue.js'
So I think that because there is a space after what in the path. How can I fix it ?

PROBLEM IN NAMING FOLDER ./WHAT

On ~/CLI-Treasure-Hunt/Clues ,
when typing ls
there is typo in folders name What ,
on terminal I could see it's looks like "What"
which causes the problem in changing folder via terminal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.