Abstract
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.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Scott Chacon
About this chapter
Cite this chapter
Chacon, S., Straub, B. (2014). Git Basics. In: Pro Git. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0076-6_2
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0076-6_2
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0077-3
Online ISBN: 978-1-4842-0076-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books