Skip to Content
Mastering Vim
book

Mastering Vim

by Ruslan Osipov
November 2018
Beginner
330 pages
7h 21m
English
Packt Publishing
Content preview from Mastering Vim

Setting up a new project

In this example, we'll be working with Chapter05/animal_farm/ from https://github.com/PacktPublishing/Mastering-Vim/tree/master/Chapter05/animal_farm. You can also follow along with any project you'd like. Follow these steps if you're setting up a new Git repository:

  1. Initialize the Git repository in the project's root directory:
$ cd animal_farm/$ git init

2. Stage all files in a directory to be added to the initial commit:

$ git add .

3. Create an initial commit:

$ git commit -m "Initial commit"

Here's sample output from the previous commands:

You should now be ready to work with your newly created repository. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Vim

Mastering Vim

Damian Conway
Vim Masterclass

Vim Masterclass

Jason Cannon
Modern Vim

Modern Vim

Drew Neil

Publisher Resources

ISBN: 9781789341096Supplemental Content