All Projects → git-game → Git Game V2

git-game / Git Game V2

Second version of the terminal based game that teaches users git commands

Labels

Projects that are alternatives of or similar to Git Game V2

Awesome Asyncio Cn
😎 Python Asyncio 精选资源列表,囊括了网络框架,库,软件等资源
Stars: ✭ 501 (-10.54%)
Mutual labels:  makefile
Pinn
An enhanced Operating System installer for the Raspberry Pi
Stars: ✭ 530 (-5.36%)
Mutual labels:  makefile
Awesome Python Cn
Python资源大全中文版,包括:Web框架、网络爬虫、模板引擎、数据库、数据可视化、图片处理等,由「开源前哨」和「Python开发者」微信公号团队维护更新。
Stars: ✭ 23,408 (+4080%)
Mutual labels:  makefile
Bare Arduino Project
Start your Arduino projects right out of the box
Stars: ✭ 505 (-9.82%)
Mutual labels:  makefile
Why Linux Is Better
Objective reasons to prefer Linux to Windows.
Stars: ✭ 518 (-7.5%)
Mutual labels:  makefile
Erlang.mk
A build tool for Erlang that just works.
Stars: ✭ 538 (-3.93%)
Mutual labels:  makefile
Mask
🎭 A CLI task runner defined by a simple markdown file
Stars: ✭ 495 (-11.61%)
Mutual labels:  makefile
Rpi Buildroot
Buildroot overlay with a few personal tweaks for the Raspberry Pi
Stars: ✭ 553 (-1.25%)
Mutual labels:  makefile
Go Best Practices
Codeship Golang Best Practices
Stars: ✭ 522 (-6.79%)
Mutual labels:  makefile
Manta
Manta is a scalable HTTP-based object store
Stars: ✭ 543 (-3.04%)
Mutual labels:  makefile
Envoy
Envoy proxy中文文档 - https://www.servicemesher.com/envoy/
Stars: ✭ 509 (-9.11%)
Mutual labels:  makefile
Aiohttp Demos
Demos for aiohttp project
Stars: ✭ 517 (-7.68%)
Mutual labels:  makefile
Remake
Enhanced GNU Make - tracing, error reporting, debugging, profiling and more
Stars: ✭ 538 (-3.93%)
Mutual labels:  makefile
Lets Split Guide
This guide covers building a Let's Split v2
Stars: ✭ 501 (-10.54%)
Mutual labels:  makefile
Project Layout
Standard Go Project Layout
Stars: ✭ 28,275 (+4949.11%)
Mutual labels:  makefile
Python Regex Cheatsheet
Python 2.7 Regular Expression cheatsheet, as a restructured text document and Makefile to convert it to PDF
Stars: ✭ 496 (-11.43%)
Mutual labels:  makefile
Docker Hadoop Spark Workbench
[EXPERIMENTAL] This repo includes deployment instructions for running HDFS/Spark inside docker containers. Also includes spark-notebook and HDFS FileBrowser.
Stars: ✭ 536 (-4.29%)
Mutual labels:  makefile
Device brcm rpi3
Stars: ✭ 558 (-0.36%)
Mutual labels:  makefile
Buildroot
Tesla's buildroot repository
Stars: ✭ 552 (-1.43%)
Mutual labels:  makefile
Scientific network summary
总结关于科学上网的概念方法及工具
Stars: ✭ 539 (-3.75%)
Mutual labels:  makefile

Run on Repl.it

#git-game-v2

This repo is the sequel to the git-game. There are nine levels, and each level teaches you about one of git's more advanced features. In particular, you'll learn how to use the commands:

  • git ls-files
  • git cherry-pick
  • git bisect
  • git show
  • git shortlog
  • git submodule
  • git describe
  • git log
  • git grep

Let’s begin! First, clone this repository using the command below:

$ git clone https://github.com/git-game/git-game-v2.git

You can win a badge for completing this game! learn more about badges here: https://openbadgefactory.com/faq

You're now ready to start level1. Good luck!

##Level 1

The first level demonstrates the power of git ls-files. Running git ls-files lists all the files in the current commit. Checkout the documentation for more details. Can you figure out why running the standard Unix ls doesn't list all the files in the current commit?

Your task for this level is to use git ls-files to count the total number of lines in this commit. In other words, count the number of lines in each file, then add all these numbers together to get the total.

To advance to level 2 you need to checkout the branch named after the total. So if the total number is 780 then you would run:

$ git checkout 780

Hint: You will need to combine git ls-files with other Unix utilities using pipes. This stackoverflow question has a useful example that will get you started.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].