Green Light Suppresses Cell Growth but Enhances Photosynthetic Rate and MIB Biosynthesis in PE-Containing Pseudanabaena
Version
Branches
tibble::tibble(branch = system("git branch -a", intern = TRUE)) |>
dplyr::filter(grepl("remotes", branch)) |>
dplyr::filter(!grepl("HEAD", branch)) |>
dplyr::mutate(branch = gsub("^.*\\/", "", branch)) |>
dplyr::arrange(desc(branch)) |>
dplyr::mutate(
htmlstr = paste0(
"## [**Version**: ",
branch,
"](https://drc.drwater.net/manuscript/",
ifelse(grepl("pub", branch, ignore.case = TRUE), "public", "protected"),
"/cao2025green/",
branch,
"/)"
)
) |>
dplyr::pull(htmlstr) |>
paste(collapse = "\n\n") |>
cat()Version: main
Version: TX
Version: PUB
Versions
# 方法2:先获取分支列表,再逐个查询
branches <- system("git branch -r", intern = TRUE)
branches <- trimws(branches) # 去除空白字符
branches <- branches[!grepl("HEAD", branches)]
branches <- tibble::tibble(branch = branches) |>
dplyr::arrange(dplyr::desc(branch)) |>
dplyr::pull(branch)
cat("\n")for (branch in branches) {
if (branch != "") {
cat("### ", gsub("^.*/", "", branch), "\n\n")
commits <- system(
paste0(
"git log --pretty=format:\"%h - %an, %ar : %s\" -5 \"",
branch,
"\""
),
intern = TRUE
)
# all_commits[[branch]] <- paste0("- ", commits)
cat(paste0("- ", commits), sep = "\n")
cat("\n")
}
}main
- 4f965d5 - ming, 1 year, 6 months ago : render compile
- 7b7c8c9 - ming, 1 year, 6 months ago : 备份TC/MS/MS2502232043_b8ea9fd.docx
- b8ea9fd - ming, 1 year, 6 months ago : render compile
- 2d6ebad - ming, 1 year, 6 months ago : 备份TC/MS/MS2502232043_9d5c83e.docx
- 9d5c83e - ming, 1 year, 6 months ago : add tengxin
TX
- 745399f - Tengxin Cao, 1 year, 6 months ago : update
- de8c485 - ming, 1 year, 6 months ago : 备份TC/MS/MS2502191134_b4e5752.docx
- b4e5752 - ming, 1 year, 6 months ago : update extensions
- b50801b - ming, 1 year, 6 months ago : add poster
- 2ec5d2a - ming, 1 year, 6 months ago : render compile
PUB
- 2f7568f - ming, 10 hours ago : Remove obsolete child extension links [log: LOG/20260812-1138_extensions/index.qmd]
- 77281f6 - ming, 10 hours ago : Save current project state [log: LOG/20260812-1123_sync/index.qmd]
- 933691b - ming, 11 hours ago : Handle special characters in lazy render paths [log: LOG/20260812-1121_makefile/index.qmd]
- 6e0f653 - ming, 20 hours ago : Update drwater extension to template version [log: LOG/20260812-0123_extension/index.qmd]
- b294a71 - ming, 20 hours ago : Refresh slide and track-change listings [log: LOG/20260812-0123_listings/index.qmd]