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

I want to undo commit, that I have not yet pushed

Paul Gigliotti January 13, 2022

Am added a directory to my local sandbox and did a commit, but have not yet pushed.  I now realilze there are some subdirectories in my local sandox that are no longer needed.  I have deleted them from my local area.  I want "delete" the commit, then commit the new sturcture, and then push.

 

1 answer

1 accepted

1 vote
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 14, 2022

Hi @Paul Gigliotti ,

you have several options to do that.

Please take a look to the following article https://devconnected.com/how-to-remove-files-from-git-commit/

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events