Skip to content

salemove/gojo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Gojo

A compilation of git katas - exercises that make you more confident in using more advanced git features.

Usage

  • Clone this repository: git clone https://github.com/salemove/gojo.git && cd gojo.
  • See the list of available katas with git branch -a. Every kata-* branch is a kata.
  • Pick a kata and start it with e.g. git checkout kata-1-fixup.
  • Run ./start to start the kata and print instructions.
  • Do it.
  • Execute ./test to check your results.
  • Run e.g. git reset --hard origin/kata-1-fixup to start over.

If you've broken everything beyond repair, just delete the folder and start over from the top, by cloning this repository again.

Katas

  1. Fixup: kata-1-fixup
  2. Squash: kata-2-squash
  3. Commit splitting: kata-3-split-commit
  4. Splitting an old commit: kata-4-split-old-commit
  5. Redistribute commit contents between different commits: kata-5-redistribute-commits
  6. Recover a lost commit: kata-6-recover

Releases

No releases published

Packages

No packages published