Skip to Content
Pro Git, Second Edition
book

Pro Git, Second Edition

by Scott Chacon, Ben Straub
November 2014
Intermediate to advanced
456 pages
11h 48m
English
Apress
Content preview from Pro Git, Second Edition

CHAPTER 2

image

Git Basics

If you can read only one chapter to get going with Git, this is it. This chapter covers every basic command you need to do the vast majority of the things you’ll eventually spend your time doing with Git. By the end of the chapter, you should be able to configure and initialize a repository, begin and stop tracking files, and stage and commit changes. We’ll also show you how to set up Git to ignore certain files and file patterns, how to undo mistakes quickly and easily, how to browse the history of your project and view changes between commits, and how to push and pull from remote repositories.

Getting a Git 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

Learning Git

Learning Git

Anna Skoulikari
Head First Git

Head First Git

Raju Gandhi
Version Control with Git, 3rd Edition

Version Control with Git, 3rd Edition

Prem Kumar Ponuthorai, Jon Loeliger
Professional Git

Professional Git

Brent Laster

Publisher Resources

ISBN: 9781484200766Purchase book