I have commit number. I would like to get previous commit number(parent). I need commits from current branch.
git log --pretty=%P -n 1 "$commit_from"