Git: Twelve Curated Tips And Workflows From The Trenches

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 Over 11 years ago