Jump Start Git

 
 
SitePoint (Verlag)
  • erschienen am 15. Mai 2020
  • |
  • 172 Seiten
 
E-Book | ePUB mit Adobe-DRM | Systemvoraussetzungen
978-1-0981-2287-4 (ISBN)
 
Get a Jump Start on version control with Git today!If you've worked on a web development project of any size, you've probably used Git, the most broadly adopted distributed version control system available. It enables you to store different versions of project files and directories, so you can roll back to an earlier one if something goes wrong. And since it's distributed, it smoothes the path for dev team collaboration.This short, practical book will help you to:Understand Git's core philosophy.Get started with Git: install it, learn the basic commands, and set up your first project.Work with Git as part of a collaborative team.Use Git's debugging tools for maximum debug efficiency.Master Git workflowTake control with Git's advanced features: reflog, rebase, stash, and more.Use Git with cloud-based Git repository host services like Github and Bitbucket.See how Git's used effectively on large open-source projects.Whether you're a Git newbie or you've been using it for some time but only really scratching the surface of its capabilities, this book will help you to gain a deep understanding of how Git works, and how to use it to streamline your workflow.
  • Englisch
  • Sebastopol
  • |
  • USA
  • 10,98 MB
978-1-0981-2287-4 (9781098122874)
weitere Ausgaben werden ermittelt
  • Jump Start Git, Second Edition
  • Notice of Rights
  • Notice of Liability
  • Trademark Notice
  • About SitePoint
  • About Shaumik Daityari
  • Preface
  • Who Should Read This Book?
  • Conventions Used
  • Code Samples
  • Tips, Notes, and Warnings
  • Hey, You!
  • Ahem, Excuse Me ...
  • Make Sure You Always ...
  • Watch Out!
  • Supplementary Materials
  • Chapter 1: Introduction
  • Introduction
  • Version Control
  • Version Control Doesn't Replace the Need for a Regular Backup Solution
  • Examples of Version Control in Daily Life
  • Version Control Systems: the Options
  • VCS Is Not CVS
  • Enter Git
  • Git's Philosophy
  • Advantages of Distributed Version Control Systems
  • Git and GitHub
  • Conclusion
  • What Have You Learned?
  • What's Next?
  • Chapter 2: Getting Started with Git
  • GUI Tools
  • The Git Workflow
  • Baby Steps with Git: First Commands
  • Set Configuration Settings
  • Create a Git Project
  • Issuing Git Commands
  • Git Autocomplete
  • Create Our First Commit
  • Don't Edit .git
  • Demonstration Only
  • Checking the Status
  • Beware of Adding Unwanted Files
  • Make Your Commit Messages Meaningful!
  • Further Commits with Git
  • Diff Only Shows Changes in Tracked Files
  • Beware of Shortcuts
  • Always Review Your Changes
  • Why git add Again?
  • Commit History
  • The .gitignore File
  • Unintentionally Tracking a File Listed in .gitignore
  • Hiding .gitignore from Git
  • Set up Your .gitignore Early
  • Remote Repositories
  • GitHub Isn't the Only Option
  • GitHub Offers Student Pricing
  • Conclusion
  • What Have You Learned?
  • What's Next?
  • Chapter 3: Branching in Git
  • What Are Branches?
  • Branch Conventions
  • Create a Branch
  • What Does checkout Do?
  • Delete a Branch
  • Don't Delete Branches Unless You Have To
  • Branches and HEAD
  • Advanced Branching: Merging Branches
  • Watch Out for Loops
  • Conclusion
  • What Have You Learned?
  • What's Next?
  • Chapter 4: Using Git in a Team
  • The Source Is the origin
  • Optional: Different Protocols While Cloning
  • Alternative Credential Storage
  • Git GUI Tools Can Generate Keys for You
  • Contributing to the Remote: Git Push Revisited
  • You Can Delete Branches Using git push
  • Keeping Yourself Updated with the Remote: Git Pull
  • Pulls Are Fast-forward by Default
  • Here Be Conflicts!
  • Dealing with a Rejected Git Push
  • Rebase?
  • Conflicts
  • Multiple Conflicts
  • Aborting a Merge with Conflicts
  • Conclusion
  • What Have You Learned?
  • What's Next?
  • Chapter 5: Git Workflows
  • The Centralized Workflow
  • Features
  • New Team Member Orientation
  • Pros and Cons
  • Who Should Use the Centralized Workflow
  • The Feature-branch Workflow
  • Features
  • New Team Member Orientation
  • Pros and Cons
  • Who Should Use the Feature-branch Workflow
  • Gitflow Workflow
  • Features
  • New Team Member Orientation
  • Pros and Cons
  • Who Should Use the Gitflow Workflow
  • Forking Workflow
  • Features
  • New Team Member Orientation
  • Pros and Cons
  • Who Should Use the Forking Workflow
  • Conclusion
  • What Have You Learned?
  • What's Next?
  • Chapter 6: Correcting Errors While Working with Git
  • Amending Errors in the Git Workflow
  • Undo Git Add
  • Why Can't I Just Delete the File?
  • Forced Removal
  • What Does checkout Really Do?
  • Undo Git Commit
  • What's with HEAD~1?
  • Undo Git Push
  • Use -f with Caution
  • Debugging Tools
  • Git Blame
  • Git Bisect
  • Why is git bisect So Fast?
  • Learn More About Each Commit
  • Automated Bisect with Unit Tests
  • Exit Codes in Custom Shell Scripts
  • Beware of Using Old Test Files
  • Conclusion
  • What Have You Learned?
  • What's Next?
  • Chapter 7: Unlocking Git's Full Potential
  • Advanced Use of log
  • Short Version
  • Branches and History
  • Filter Commits
  • You Must Specify a Range
  • Trace Changes in a Single File
  • How Is Tracing Different from git blame?
  • Track Your Peers
  • Search in Commit Messages
  • The Importance of Meaningful Commit Messages
  • Using the grep Terminal Command
  • Tagging in Git
  • Refs and reflog
  • reflog Can Act as Insurance
  • reflog Only Tracks Commits for a Certain Period of Time
  • Checking for Lost Commits
  • Not to be Confused with the Unix Command
  • fsck versus reflog
  • Rebase
  • Working in a Team
  • Just for Illustration
  • Squash Commits Together
  • Aborting a Squash
  • Squash Modifies the Branch History
  • Stash Changes
  • stash Untracked Files
  • Advanced Use of add
  • Don't Commit with the -a Option
  • Cherry Pick
  • How Does cherry-pick Differ from merge or rebase?
  • GitHub CLI
  • Conclusion
  • What Have You Learned?
  • What's Next?
  • Chapter 8: Integrate Git in Your Development Cycle
  • Git and DevOps
  • Using Git Hooks
  • Integrating Travis CI with GitHub
  • Getting Started with Travis CI
  • Travis CI Build Results
  • Advanced Configuration Settings
  • Conclusion
  • What Have You Learned?
  • What's Next?
  • Chapter 9: Git GUI Tools
  • GitHub Desktop
  • Not Just for GitHub
  • Sourcetree
  • Sourcetree versus GitHub Desktop
  • Conclusion
  • Chapter 10: Conclusion
  • Git's Meteoric Rise
  • Will Git Continue to be Popular in the Future?
  • Beyond Source Code Management
  • The End

Dateiformat: ePUB
Kopierschutz: Adobe-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Bitte beachten Sie bei der Verwendung der Lese-Software Adobe Digital Editions: wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Download (sofort verfügbar)

17,49 €
inkl. 5% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe-DRM
siehe Systemvoraussetzungen
E-Book bestellen