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

How does a branch deletion in Stash show up in the logs?

Jen Connor August 3, 2014

One of my users lost a working branch and is wondering who went in and deleted it. I grepped for the branch in the logs (most common entries were in stash-profiler and stash-access), but they all look like GET requests. How would a branch deletion appear in the logs?

1 answer

0 votes
TimP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2014

Hi Jen,

By default Stash will not log branch updates or deletes. You can turn on more verbose logging by adjusting the appropriate Stash config property, the list of audit events and levels are here.

If you're looking to recover the branch, this thread has some great tips: http://stackoverflow.com/questions/16793637/recover-deleted-branch-git

cheers,

Tim

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events