I am using the below command to push the git changes using powershell.
git commit -a -m "message"
git push -q
While performing the git commit i want to return the corresponding commit id so that i can use that git id later for getting the corresponding changes.Is it possible
git rev-parse HEAD(after the commit) will output that info.