2026-04-04

Git pull Remote Branches

tech
#git

Today when I pull my code from git. I realized that some new branches are not fetched. Because it only pulls from the ma...

2026-03-15

Week 11: Git Worktree

tech
2026 plans
#git

This is a very cool command in Git. Nowadays, because of vibe coding, I may use several AIs to work on different featur...

2020-02-06

Git 中的 CRLF 和 LF

tech
#git

跨平台开发的时候,如果是在 Windows 下面上传代码,git 会提醒部分文本文件的 CRLF 会改为 LF。 原因是在 Windows 下面,文本文件会以 CRLF(回车换行)结尾,而 Linux 和 Mac 会以 LF(换行)结尾。...

2020-01-04

GitBash 增加环境变量

tech
#git

WSL 的运行速度比较慢,所以我在 windows 下面的开发很大一部分还是在 GitBash 下面,GitBash 基于 mingw 开发,所以直接修改.bashrc 即可 这里注意下,因为 python 和 Ubuntu 是从应用商店...