Update:Fast forward only

Don't want to accidentally create merge commits and fuck up everything
This commit is contained in:
SileNce5k 2021-07-06 15:27:16 +02:00
parent 8b6526360f
commit c26dd3a65c
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -6,7 +6,7 @@ module.exports = {
description: 'pull changes from remote and reload commands with git',
admin: true,
execute({message, client}) {
let cmd = "git pull";
let cmd = "git pull --ff-only";
const exec = require("child_process").exec;
exec(cmd, (err, stdout, stderr) => {
process.stdout.write(stdout);