Tshazar on Nostr: I as a rule don’t use git directly like that. I creat functions that stash first ...
I as a rule don’t use git directly like that.
I creat functions that stash first and take the desired action
vim recently had my back when I rm a file prematurely. I recreated the file with the same name and then did an undo and the blank document became the last saved version.
Hopefully undotree or mundo is a part of your stack
Published at
2024-08-20 04:27:08Event JSON
{
"id": "4cd97ae3ce257b5bcf5042220320ee5166503dae4a377e1e0a13851c7e11a436",
"pubkey": "a2874a7c30dd82fdae4201299410d52afd24ad46aa50b8a1d3a0de8727d1c088",
"created_at": 1724128028,
"kind": 1,
"tags": [
[
"e",
"7c3e6c2e855d005c5b6001fb009e7aa94dc1e4ac8dcf1d54882003315f7802f8",
"wss://nos.lol",
"root"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "I as a rule don’t use git directly like that. \n\nI creat functions that stash first and take the desired action\n\nvim recently had my back when I rm a file prematurely. I recreated the file with the same name and then did an undo and the blank document became the last saved version. \n\nHopefully undotree or mundo is a part of your stack",
"sig": "dd321ee1a3312867910b155db9f61f2bfee6688bcd567eca2a3379bc6858329e5b3b6cd99b86a5ad424b1d6c448370f71bf7cdfb22b73f8a6d52c62868132bd2"
}