Compare commits

..

No commits in common. "cb0eb3974786feed5980adfff3f65ac7e6a9d8e5" and "463f885d66de79b5b0f5808527ed793a10eebf4d" have entirely different histories.

2 changed files with 0 additions and 18 deletions

0
src/aaa.cpp Normal file
View File

View File

@ -1,18 +0,0 @@
#!/bin/bash
cd ~/ros2_ws || exit 1
# 获取当前时间作为提交信息
commit_time=$(date "+%Y-%m-%d %H:%M:%S")
# 添加除该脚本以外的所有更改文件
git add .
# 移除对本脚本的暂存
git reset HEAD auto_git_push.sh
# 提交
git commit -m "Auto commit at $commit_time"
# 推送到远程仓库
git push origin main