It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

stash reset head

how to I delete the last commit on the stash server, i.e. issue: git reset --soft HEAD~1

1 answer

0 votes
rsperafico Atlassian Team Jul 03, 2014

Hi Howard,

Thank you for your question.

Your could run the following command.{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId} [DELETE, PUT, GET]

I would kindly suggest you on having a look at Stash REST Resources documentation for further information.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Align

Best Practices in Jira Align

Hello Jira Align customers! In order to better serve you on your journey with Jira Align, the Community team has worked with the Jira Align team to curate the content in this collection to better s...

44 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you