How to use the fetch function from simple-git
Find comprehensive JavaScript simple-git.fetch code examples handpicked from public code repositorys.
GitHub: PROHACKER21/Mybot
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(
0
0
1
+ 8 other calls in file
simple-git.default is the most popular function in simple-git (59 examples)