Browse Source

Script to commit on Linux

circular 5 năm trước cách đây
mục cha
commit
367e6deeff
1 tập tin đã thay đổi với 13 bổ sung0 xóa
  1. 13 0
      commit.sh

+ 13 - 0
commit.sh

@@ -0,0 +1,13 @@
+#!/bin/bash
+git checkout HEAD~ -- lazpaint/release/bin/i18n/*.po
+git add .
+git status
+echo "Type commit description (or press Enter to cancel):"
+read commitdesc
+if test -z "$commitdesc"
+then
+  git reset --
+else
+  git commit -m "$commitdesc"
+fi
+cd ..