Group Group Group Group Group Group Group Group Group Group Shape Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group
Skip to Content
  • iii. Dedications
  • More
    • NewsletterNewsletter
    • ForumsForums
Sign In
Create a free account
  • Search
  • Notebook
  • Customise

Git Apprentice

Second Edition Git 2.32, Console

Before You Begin

Section 0: 6 chapters
  • i. What You Need
  • ii. Book Source Code & Forums
  • iii. Dedications
  • iv. About the Team
  • v. Acknowledgments
    • Content Development
  • vi. Introduction
    • Enter the video courses
    • How to read this book

Section I: Beginning Git

Section 1: 11 chapters
  • 1. A Crash Course in Git
    • 1.1 What are remote repositories?
    • 1.2 Forking the remote repository
    • 1.3 Cloning the repository
    • 1.4 Creating a branch
    • 1.5 Making and staging changes
    • 1.6 Committing changes
    • 1.7 Pushing your changes
    • 1.8 Creating a pull request
  • 2. Cloning a Repo
    • 2.1 What is cloning?
    • 2.2 Using GitHub
    • 2.3 Forking
    • 2.4 Challenge
    • 2.5 Key points
    • 2.6 Where to go from here?
  • 3. Committing Your Changes
    • 3.1 What is a commit?
    • 3.2 Working trees and staging areas
    • 3.3 Committing your changes
    • 3.4 Adding directories
    • 3.5 Looking at git log
    • 3.6 Challenge
    • 3.7 Key points
    • 3.8 Where to go from here?
  • 4. The Staging Area
    • 4.1 Why staging exists
    • 4.2 Undoing staged changes
    • 4.3 Moving files in Git
    • 4.4 Deleting files in Git
    • 4.5 Challenge
    • 4.6 Key points
    • 4.7 Where to go from here?
  • 5. Ignoring Files in Git
    • 5.1 Introducing .gitignore
    • 5.2 Getting started
    • 5.3 Nesting .gitignore files
    • 5.4 Looking at the global .gitignore
    • 5.5 Finding sample .gitignore files
    • 5.6 Challenge
    • 5.7 Key points
    • 5.8 Where to go from here?
  • 6. Git Log & History
    • 6.1 Viewing Git history
    • 6.2 Vanilla git log
    • 6.3 Limiting results
    • 6.4 Graphical views of your repository
    • 6.5 Viewing non-ancestral history
    • 6.6 Using Git shortlog
    • 6.7 Searching Git history
    • 6.8 Challenges
    • 6.9 Key points
    • 6.10 Where to go from here?
  • 7. Branching
    • 7.1 What is a commit?
    • 7.2 What is a branch?
    • 7.3 Creating a branch
    • 7.4 How Git tracks branches
    • 7.5 Checking your current branch
    • 7.6 Switching to another branch
    • 7.7 Viewing local and remote branches
    • 7.8 Explaining origin
    • 7.9 Viewing branches graphically
    • 7.10 A shortcut for branch creation
    • 7.11 Challenge
    • 7.12 Key points
    • 7.13 Where to go from here?
  • 8. Merging
    • 8.1 A look at your branches
    • 8.2 Three-way merges
    • 8.3 Merging a branch
    • 8.4 Fast-forward merge
    • 8.5 Forcing merge commits
    • 8.6 Challenge
    • 8.7 Key points
    • 8.8 Where to go from here?
  • 9. Syncing With a Remote
    • 9.1 Pushing your changes
    • 9.2 Pulling changes
    • 9.3 Dealing with multiple remotes
    • 9.4 Key points
    • 9.5 Where to go from here?
  • 10. Creating a Repository
    • 10.1 Getting started
    • 10.2 Creating a LICENSE file
    • 10.3 Creating a README file
    • 10.4 Creating and syncing a remote
    • 10.5 Key points
    • 10.6 Where to go from here?
  • 11. Conclusion

Section II: Appendices

Section 2: 1 chapter
  • A. Appendix A: Installing & Configuring Git
    • Installing on Windows
    • Installing on macOS
    • Configuring credentials
    • Setting your username and email
    • Persisting your password
Home iOS & Swift Books Git Apprentice

iii
Dedications

“For Russ and Skip.”

— Chris Belanger

“For my mother, who always believed in me..”

— Bhagat Singh

iv. About the Team ii. Book Source Code & Forums

Have a technical question? Want to report a bug? You can ask questions and report bugs to the book authors in our official book forum here.

© 2022 Razeware LLC