I get this error:
fatal: cannot lock ref 'refs/heads/oleg/feature/1535693040/squashed':
'refs/heads/oleg/feature/1535693040' exists; cannot create 'refs/heads/oleg/feature/1535693040/squashed'
the script that generated the error was:
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
anyone know what that is about?
Ahh I found an answer to this: https://stackoverflow.com/a/22630664/1223975
in short, if: a/b/c
exists, Git cannot create a/b/c/d
not sure why tho
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With