From a8c79816e083335fedccd6c75e7cbe93d2ce80be Mon Sep 17 00:00:00 2001 From: cxh Date: Mon, 26 May 2025 11:06:53 +0800 Subject: [PATCH] auto --- git_auto_push.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 git_auto_push.sh diff --git a/git_auto_push.sh b/git_auto_push.sh new file mode 100755 index 0000000..7c5d73c --- /dev/null +++ b/git_auto_push.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +cd /home/cxh/sweeper_truck_ros || exit 1 + +USERNAME="cxh" +PASSWORD="Cxh980416@" +REPO="http://${USERNAME}:${PASSWORD}@192.168.4.194:3000/cxh/sweeper_truck_ros.git" + +git add . +git commit -m "auto" +git push "$REPO" master