Re:Can we communally deprecate git checkout?
by anonymoushn on Thursday January 09, 2025 @05:16PM
(#42650390)
It ends up being a worthwhile thing to do if someone has checked in a large file that shouldn't be in git or whatever
Re:Can we communally deprecate git checkout?
by tverbeure on Thursday January 09, 2025 @05:33PM
(#42650537)
Somebody accidentally checks in an AWS private key and it gets found out much later.
Re:Can we communally deprecate git checkout?
by JohnMakin on Thursday January 09, 2025 @05:42PM
(#42650609)
Then removing it from history doesn’t do anything because you already need to rotate the key
Re:Can we communally deprecate git checkout?
by Smithalicious on Thursday January 09, 2025 @10:16PM
(#42652092)
The classic example is accidentally committing a binary file or some other large-as-in-filesize garbage -- simply deleting the file preserves it in history, bloating the size of the repo.
That seems like the exact opposite of the purpose of version control.