Git: Twelve Curated Tips And Workflows From The Trenches

Updated . Posted . Visible to the public.

This article Show archive.org snapshot contains:

  • Making ‘git diff’ wrap long lines
  • Set a global proxy
  • Clone only a specific branch
  • Diff file against remote branch
  • List all deleted files in the repository
  • Search for a string in all revisions of entire git history
  • Apply a patch from another (unrelated) local repository
  • Making a more recent branch the new master
  • Adding an initial empty commit to a branch to allow full rebase
  • Zero a branch to do something radically different
  • How to modify a specified commit?
  • How to stash only one file out of multiple files that have changed
Henning Koch
Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2012-12-05 17:40)