Some levels are really easy and only require you to read the explanation, but others just give you a situation and you'll need to use what you've learned to solve the level. The levels range in difficulty, and require you to do different things. There will normally be multiple branches, and you'll be expected to use Git commands to solve each level. Once Git Gud is initialized, it'll have full control over that directory, and it will start adding/removing commits and files. To get started, you need to initialize Git Gud in an empty directory. Other commands are also useful, but the output of those commands should be enough to guide you through the level. The most important commands are git gud goal, git gud status, git gud explain git gud test, and git gud load next. If you ever forget which commands there are, or if you want to start on a later level, you can always run "git gud help" The beginning levels of the game start by getting you accustomed to the Git Gud interface, but later on, the training wheels come off, and you'll have to remember to type in the commands. Ideally, the game will teach you everything you need to know to beat it, but you're still encouraged to use other resources to learn as much as you want. It start off, assuming you have zero knowledge, and then builds up.įor each level, it will give you a goal and will explain what's going on. The levels are divided up into skills, each of which will introduce you to a new topic in Git. Git Gud is meant to be like a game, and like a game, it has levels. Once Git Gud is installed, typing "git gud" will produce output and will start telling you what to do. Learn Git Branching is more visual, but with Git Gud, you're actually using git to complete the levels. If you're more of a visual learner, you should start with "Learn Git Branching", and and then give Git Gud a try. If something's missing feel free to add an issue, or if you're interested, view the contributors file and add something yourself! The project is intentially structured to make it very easy to add new levels! Welcome to Git Gud, a command line game designed to help you learn how to use the popular version control system known as Git!Īs levels progress, you will know more and more about git, and eventually become a git grandmaster!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |