Handcrafting Codes

Topic

Engineering

  1. 09Engineeringgit 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
  2. 10EngineeringListing 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
  3. 11EngineeringTwo 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
  4. 12EngineeringWorking with multiple remotesA fresh clone has one remote called `origin`, but you have more...Jul 02, 20264 min read
  5. 13EngineeringDemystifying git rebaseRebase scares people because the usual one-line explanationJul 02, 20265 min read
  6. 14EngineeringGit tricks I keep reaching forThese are the handful I've wired into muscle memory, the ones that earn their place because they save a real minute or a real mistake.Jul 02, 20264 min read
  7. 15EngineeringRebase vs mergeThe rebase-versus-merge argument gets treated like a holy war, which is silly, because they answer different questionsJun 29, 20264 min read
  8. 16EngineeringThree branches, not one: deleting branches in git without the confusionThe reason deleting a git branch confuses people is that "the branch" isn't one thingJun 29, 20263 min read