sudo cast
48 subscribers
498 photos
12 videos
16 files
1.54K links
v2 @sudo_recast

casted something nice or not

v1 / cast / channel / telegram / sudo

more @sudo_radio
email telegram@gadflysu.com
Download Telegram
优秀的 Git GUI 软件 #SmartGit(允许非商业使用)
https://www.syntevo.com/smartgit/

#awesome #software #git
查找 #GitHub 仓库的复刻 (fork)

1. 官方网络图,如 Network Graph · coreutils/coreutils
3. 搜索中使用 fork:true 或 fork:only(文档)
2. Active GitHub Forks
3. GitPop2

#git
To revert a patch:

git apply -R <patch>
git apply --reverse <patch>


#til #git
当远程 #git 仓库过于庞大,本地按需选择有限的分支来工作。在克隆时选择单一分支:

git clone --branch=master --single-branch git@server:repo.git

添加另一个远程分支并配置追踪:

git remote set-branches --add origin another_branch
git fetch
git checkout another_branch
#GitHub 作为一种分发渠道的意义更重。一些闭源软件在上面发布预编译版本。一些软件没有打包,提供一个安装脚本让用户克隆本仓库,依靠 #git 保证完整性,定时更新。
To track but not stage files:

git add [--intent-to-add | -N] [--] [<pathspec>...]

Record only the fact that the path will be added later.

#git #til
一个不知道 commit message(见下)第二行留空的人好意思说我哪里哪里分号没对齐逼死强迫症。👍

1. something
2. something
3. ...


#办公室见闻 #git
有没有比较优雅的同时在本地和服务器切换分支的方法?(编译需在服务器上。)

#git
教训:今天 #git msg 把 refactor 写成 fix 了。(是昨天