1.0.1 • Published 7 years ago

gitfun v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

##GitFun

GitFun is an interactive git workshop following the style of githug. GitFun is geared towards understanding the git workflow in a team, and how to deal with common problems and errors. It is a work in progress, and new levels are still being made.

Setup

npm install -g gitfun

NOTE: if you get an error cannot find OpenSSL or Libgcrypt, run xcode-select --install and then try npm install -g gitfun again.

Running

Run gitfun where you would like to set up your gitfun_workshop project. You will be asked for permission to create the gitfun_workshop in the current directory. When the set up is complete, change directory into the newly created directory.

From within the gitfun_workshop folder, execute the command:

gitfun

You will see a prompt describing a specific challenge. Use git commands to satisfy the challenge conditions. When you are done, run gitfun again to check your work. To help you out, here is a full list of GitFun commands:

CommandResult
gitfunStart the challenge or check your solution
gitfun directionsRepeat the current challenge directions
gitfun hintGet a hint on how to solve the current challenge
gitfun resetReset the current challenge to its original state--You can also reset to a specific level, or to the last level not completed by running gitfun reset 0
gitfun checkCheck your solution (note you can run gitfun instead)
gitfun listlists all the completed levels and the currently active level