TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using 'git stash' as a todo list

23 pointsby timfover 14 years ago

2 comments

Xurinosover 14 years ago
I just use<p><pre><code> git add -p </code></pre> That way I can code at my leisure and worry less about the bookkeeping until I am ready to publish.
评论 #1949804 未加载
评论 #1949491 未加载
apinsteinover 14 years ago
Isn't this what branches are for? This seems ridiculous.<p>I applaud the ingenuity but I think the author would be better off making a shortcut/alias to create a branch from the current head with some interesting name and commit message and commit the changes to the new branch, then switch back to the current one.<p>One accidental "git stash clear" and this dude's setup is wiped!
评论 #1952892 未加载
评论 #1949408 未加载