Skip to content
  • This project
    • Loading...
  • Sign in

dev / pingan-life-index-pro

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • pingan-life-index-pro
  • git.sh
  • simon's avatar
    默认提交 · ddd34de6
    ddd34de6
    simon committed 2019-10-28 23:55:02 +0800
git.sh 180 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12
# chmod u+x git.sh
unset msg

read -p "请输入commit提交的描述: " msg

if [[ $msg == "" ]]; then
    msg="默认提交"
fi
git add -A
git commit -m $msg
git push
git status