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