Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

stash reset head

Howard G Page July 1, 2014
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
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2014

Hi Howard,

Thank you for your question.

Your could run the following command.

http://example.com/rest/api/1.0/projects/{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,
Rafael

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events