Posts tagged “git”

Articles about git.

  • TIL: Show File from Branch in Git

    This is an interesting one I learned while setting up a /draft-gitlab-release skill. Since I manually bump version numbers in this project, it's important to compare the live version number first, so I don't accidentally double-bump the version number on development.

  • TIL: Stash Specific Files and Filenames

    Why would you ever want to stash a specific file, as opposed to any and all altered files, you ask? In an ideal world, you probably wouldn't need to. In this specific case, I was attempting to stash files I had modified without stashing other files which had been bulk-edited by a script. In other words, I wished to throw away most of my changes and keep one or two specific changes after a git merge.