How to use the pull function from simple-git

Find comprehensive JavaScript simple-git.pull code examples handpicked from public code repositorys.

80
81
82
83
84
85
86
87
88
89
if (newCommits.total) {
logger.info("🐲: Auto Updating...");
require("child_process").exec(
"git stash push --include-untracked && git stash drop"
);
await git.pull("origin", "magneum", (err, update) => {
if (update && update.summary.changes) {
if (update.files.includes("package.json"))
require("child_process")
.exec("yarn install --ignore-engines")
fork icon0
star icon0
watch icon1

+ 8 other calls in file