Ni

Nightly Backup of Uncommitted Changes

Hacker News

Nightly Backup of Uncommitted Changes

A few days ago I decided to start off the New Year on the right foot by cleaning up my repositories. Unfortunately, I accidently deleted a repository that had some uncommitted changes. I lost about 2 days of work. I was pretty disappointed, so I wrote this script to backup changes I'm not ready to commit and push yet. I'm not a great bash scripter, so I'm sure the script is not that great, but hopefully this script can prevent someone out there from getting in the position I found myself a few days ago. https://gist.github.com/steven-p-walsh/b4f00f7b38587405099b3fcc8a5375c0

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
64%64% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntUnlikely to reach the leaderboard · Strong signals: new · Missing: mac, agents, macos
49%49% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
43%43% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
35%35% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
28%28% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
4%4% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Cr
Cronicle, backup archives rotation triggered by cron56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cronicle, backup archives rotation triggered by cron

Hacker News1
HN
HN Upvote Backup and JSONify43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

HN Upvote Backup and JSONify

Hacker News3
A
A system to recommend configuration changes on NixOS / Nix47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A system to recommend configuration changes on NixOS / Nix

Hacker News3
File Backup Tool
File Backup Tool54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Incremental backup

Indie Hackers1utilities
Ye
Yet another backup tool for CouchDB39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Yet another backup tool for CouchDB

Hacker News2
A
A cassandra backup tool39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A cassandra backup tool

Hacker News2
A
A Simple Backup for Simplenote38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Simple Backup for Simplenote

Hacker News2
Re
Regular MySQL Backup to Email36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Regular MySQL Backup to Email

Hacker News7
Gc
Gcommit – clustering code changes semantically43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Gcommit – clustering code changes semantically

Hacker News2
Th
ThriftyBackup, Cloud backup for the bandwidth-conscious48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ThriftyBackup, Cloud backup for the bandwidth-conscious

Hacker News1