Update:Fast forward only
Don't want to accidentally create merge commits and fuck up everything
This commit is contained in:
parent
8b6526360f
commit
c26dd3a65c
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ module.exports = {
|
||||||
description: 'pull changes from remote and reload commands with git',
|
description: 'pull changes from remote and reload commands with git',
|
||||||
admin: true,
|
admin: true,
|
||||||
execute({message, client}) {
|
execute({message, client}) {
|
||||||
let cmd = "git pull";
|
let cmd = "git pull --ff-only";
|
||||||
const exec = require("child_process").exec;
|
const exec = require("child_process").exec;
|
||||||
exec(cmd, (err, stdout, stderr) => {
|
exec(cmd, (err, stdout, stderr) => {
|
||||||
process.stdout.write(stdout);
|
process.stdout.write(stdout);
|
||||||
|
|
Loading…
Add table
Reference in a new issue