Download E-books Version Control with Git: Powerful tools and techniques for collaborative software development PDF

By Jon Loeliger, Matthew McCullough

Get on top of things on Git for monitoring, branching, merging, and dealing with code revisions. via a sequence of step by step tutorials, this sensible consultant takes you fast from Git basics to complicated innovations, and offers pleasant but rigorous suggestion for navigating the various features of this open resource model regulate system.

This completely revised version additionally contains counsel for manipulating timber, prolonged insurance of the reflog and stash, and an entire advent to the GitHub repository. Git enables you to deal with code improvement in an almost unending number of methods, when you know the way to harness the system’s flexibility. This e-book indicates you how.

  • Learn how you can use Git for numerous real-world improvement scenarios
  • Gain perception into Git’s common-use instances, preliminary initiatives, and uncomplicated functions
  • Use the process for either centralized and allotted model control
  • Learn how one can deal with merges, conflicts, patches, and diffs
  • Apply complex concepts similar to rebasing, hooks, and how you can deal with submodules
  • Interact with Subversion (SVN) repositories—including SVN to Git conversions
  • Navigate, use, and give a contribution to open resource initiatives even though GitHub

Show description

Read or Download Version Control with Git: Powerful tools and techniques for collaborative software development PDF

Similar Technology books

A Dictionary of Weights, Measures, and Units (Oxford Paperback Reference)

This accomplished and authoritative dictionary offers transparent definitions of devices, prefixes, and varieties of weights and measures in the Système foreign (SI), in addition to conventional, and industry-specific devices. it is also basic historic and clinical heritage, masking the improvement of the sequential definitions and sizing of devices.

Superintelligence: Paths, Dangers, Strategies

The human mind has a few features that the brains of different animals lack. it really is to those designated features that our species owes its dominant place. different animals have more suitable muscle mass or sharper claws, yet we've got cleverer brains. If computing device brains someday come to surpass human brains generally intelligence, then this new superintelligence may possibly turn into very robust.

Rewired: Understanding the iGeneration and the Way They Learn

Go searching at modern day early life and you'll see how know-how has replaced their lives. They lie on their beds and learn whereas hearing mp3 gamers, texting and chatting on-line with pals, and studying and posting fb messages. How does the recent, charged-up, multitasking new release reply to conventional textbooks and lectures?

Race Unmasked: Biology and Race in the Twentieth Century

Race, whereas drawn from the visible cues of human variety, is an idea with a measurable previous, an identifiable current, and an doubtful destiny. the idea that of race has been on the heart of either triumphs and tragedies in American background and has had a profound impact at the human adventure. Race Unmasked revisits the origins of quite often held ideals concerning the clinical nature of racial ameliorations, examines the roots of the fashionable proposal of race, and explains why race keeps to generate controversy as a device of category even in our genomic age.

Extra info for Version Control with Git: Powerful tools and techniques for collaborative software development

Show sample text content

177 Repository techniques 178 naked and improvement Repositories 178 Repository Clones 179 Remotes one hundred eighty monitoring Branches one hundred eighty Referencing different Repositories 181 touching on distant Repositories 182 The refspec 183 instance utilizing distant Repositories 185 growing an Authoritative Repository 186 Make your personal starting place distant 187 constructing on your Repository 189 Pushing Your adjustments 189 including a brand new Developer a hundred ninety Getting Repository Updates 192 distant Repository Operations in photos 196 Cloning a Repository 197 trade Histories 198 Non-Fast-Forward Pushes 199 Fetching the exchange background two hundred Merging Histories 201 Merge Conflicts 202 Pushing a Merged heritage 203 including and Deleting distant Branches 203 viii | desk of Contents distant Configuration 204 git distant 205 git config 205 handbook modifying 206 naked Repositories and git push 206 Publishing Repositories 208 Repositories with managed entry 208 Repositories with nameless learn entry 210 Repositories with nameless Write entry 213 12. Repository administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 Repository constitution 215 The Shared Repository constitution 215 disbursed Repository constitution 216 Repository constitution Examples 217 residing with dispensed improvement 219 altering Public heritage 219 Separate devote and post Steps 220 not anyone precise background 220 realizing your home 221 Upstream and Downstream Flows 222 The Maintainer and Developer Roles 222 Maintainer-Developer interplay 223 function Duality 224 operating with a number of Repositories 225 your personal Workspace 225 the place to begin Your Repository 226 changing to another Upstream Repository 227 utilizing a number of Upstream Repositories 229 Forking tasks 231 thirteen. Patches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Why Use Patches? 234 producing Patches 235 Patches and Topological types 242 Mailing Patches 243 using Patches 246 undesirable Patches 253 Patching as opposed to Merging 253 14. Hooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 fitting Hooks 257 instance Hooks 257 desk of Contents | ix growing Your First Hook 258 to be had Hooks 260 Commit-Related Hooks 260 Patch-Related Hooks 261 Push-Related Hooks 262 different neighborhood Repository Hooks 263 15. Combining tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 The previous answer: Partial Checkouts 266 the most obvious resolution: Import the Code into Your venture 267 uploading Subprojects via Copying 269 uploading Subprojects with git pull -s subtree 269 filing Your adjustments Upstream 273 the automatic resolution: trying out Subprojects utilizing customized Scripts 274 The local answer: gitlinks and git submodule 275 gitlinks 276 The git submodule Command 278 sixteen. utilizing Git with Subversion Repositories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 instance: A Shallow just like a unmarried department 283 Making Your adjustments in Git 286 Fetching ahead of Committing 287 Committing via git svn rebase 288 Pushing, Pulling, Branching, and Merging with git svn 290 maintaining Your dedicate IDs immediately 290 Cloning the entire Branches 292 Sharing Your Repository 293 Merging again into Subversion 294 Miscellaneous Notes on operating with Subversion 296 svn:ignore as opposed to .

Rated 4.95 of 5 – based on 15 votes