Rifza111 commited on
Commit
b7abe88
·
1 Parent(s): bc8faa8
Files changed (1) hide show
  1. up.js +1 -1
up.js CHANGED
@@ -32,7 +32,7 @@ const push = async (username) => {
32
 
33
  const question = (text) => new Promise((resolve) => rl.question(text, resolve));
34
  const info = await question("Commit Info: ");
35
- console.log(await execute(`git commit -m "${info}"`));
36
  console.log(await execute('git branch -M main'));
37
  console.log(await execute(`git push https://${username}:${token}@${repoUrl} main --force`));
38
  console.log('Commands executed successfully');
 
32
 
33
  const question = (text) => new Promise((resolve) => rl.question(text, resolve));
34
  const info = await question("Commit Info: ");
35
+ console.log(await execute(`git commit --allow-empty -m "${info}"`));
36
  console.log(await execute('git branch -M main'));
37
  console.log(await execute(`git push https://${username}:${token}@${repoUrl} main --force`));
38
  console.log('Commands executed successfully');