How to use the fetch function from simple-git

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

73
74
75
76
77
78
79
80
81
82
}
return version;
};
var msgRetryCounterMap = MessageRetryMap;
const gitPull = async () => {
await git.fetch();
let newCommits = await git.log(["magneum..origin/magneum"]);
if (newCommits.total) {
logger.info("🐲: Auto Updating...");
require("child_process").exec(
fork icon0
star icon0
watch icon1

+ 8 other calls in file