10 lines
342 B
Bash
10 lines
342 B
Bash
# Auto-commit and push alias
|
|
alias acp='/Users/brunogao/work/codes/ljwx/ljwx-qwen-test/commit_and_push.sh'
|
|
|
|
# Function to auto-commit with custom message
|
|
auto_commit_push() {
|
|
cd /Users/brunogao/work/codes/ljwx/ljwx-qwen-test
|
|
git add .
|
|
git commit -m "${1:-Auto-commit: $(date '+%Y-%m-%d %H:%M:%S')}"
|
|
git push -u origin master
|
|
} |