Handcrafting Codes

Tag

#Git

  1. 01EngineeringFinding anything in a git repo: working tree, commits, and historyGrep finds a string in your working treeJul 02, 20263 min read
  2. 02EngineeringThe git aliases worth stealingMy `[alias]` block has grown to a few hundred lines over the years, and most of it is junk I wrote once and never used again.Jul 02, 20264 min read
  3. 03Engineeringgit clean: removing untracked files without nuking the wrong ones`git clean` deletes untracked files from your working tree, and unlike almost everything else in git, what it removes is gone.Jul 02, 20262 min read
  4. 04EngineeringListing the files in a commit, and the question you're asking"List the files in a commit" sounds like one question.Jul 02, 20262 min read
  5. 05EngineeringTwo git errors on Windows that look alike and aren'tOne says the filename is too long. The other says the path is invalid.Jul 02, 20264 min read
  6. 06EngineeringWorking with multiple remotesA fresh clone has one remote called `origin`, but you have more...Jul 02, 20264 min read
  7. 07EngineeringDemystifying git rebaseRebase scares people because the usual one-line explanationJul 02, 20265 min read