Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is it commited or pushed?

If I commit something locally, reset it and push to remote something else does it leave a trace?



It is still in your local repository, but it's not pushed to the remote repository. So a forensics on your local machine may reveal it (probably until you do git gc, but I'm not an expert on git forensics) but it's safe otherwise.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: