Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
arein3
on Feb 23, 2024
|
parent
|
context
|
favorite
| on:
Hidden GitHub commits and how to reveal them
Is it commited or pushed?
If I commit something locally, reset it and push to remote something else does it leave a trace?
msm_
on Feb 23, 2024
[–]
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:
If I commit something locally, reset it and push to remote something else does it leave a trace?