1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-23 00:39:13 +02:00

More stuff

This commit is contained in:
Jesse Duffield
2018-05-26 15:44:44 +10:00
parent bb12309c7c
commit 10fd353a50
3 changed files with 85 additions and 0 deletions

View File

@ -245,6 +245,11 @@ func gitCommit(message string) error {
return err
}
func gitPull() error {
_, err := runDirectCommand("git pull --no-edit")
return err
}
const getBranchesCommand = `set -e
git reflog -n100 --pretty='%cr|%gs' --grep-reflog='checkout: moving' HEAD | {
seen=":"