我收到此错误:
fatal: cannot lock ref 'refs/heads/oleg/feature/1535693040/squashed':
'refs / heads / oleg / feature / 1535693040'存在;不能创造 'refs / heads / oleg / feature / 1535693040 / squashed'
产生错误的脚本是:
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
有人知道那是什么吗?
答案 0 :(得分:2)