Dev log
Git warning: LF will be replaced by CRLF, and how to fix it
Git is converting line endings, usually because core.autocrlf is true on Windows. It's harmless, and a .gitattributes file fixes it for the whole team.
5 min read
Dev log
Git warning: LF will be replaced by CRLF, and how to fix it
Git is converting line endings, usually because core.autocrlf is true on Windows. It's harmless, and a .gitattributes file fixes it for the whole team.
5 min read
Dev log
Git stash: how to save work and switch branches
git stash -u saves your uncommitted changes, including new files, and gives you a clean working tree. git stash pop brings them back.
4 min read
Dev log
Git cherry-pick: copy a commit to another branch
Switch to the branch that needs the change, find the commit hash, and run git cherry-pick . Git copies that one commit and merges nothing else.
4 min read