我知道这个错误:
致命:无法锁定ref 'refs/heads/oleg/feature/1535693040/squashed': “引用/标题/oleg/feature/1535693040”存在;无法创建“推荐/标题/oleg/功能/1535693040/压缩”
生成错误的脚本是:
current_branch="$(git rev-parse --abbrev-ref HEAD)"
git checkout -b "$current_branch/squashed"
git reset --soft "remotes/origin/dev";
git add .
git add -A
git commit -am "ores/gitflow auto-commit (squashed)"
git push有人知道这是怎么回事吗?
发布于 2018-08-31 23:28:23
https://stackoverflow.com/questions/52123618
复制相似问题