sweeper_c200/git_auto_push.sh
2025-05-26 11:06:53 +08:00

12 lines
231 B
Bash
Executable File

#!/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