Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by city41

8 years ago

One thing I do if I'm a little uncertain about my upcoming git actions is just move to a new branch: git checkout -b tryScaryGitStuff. That way if I ruin the commits, the original branch is still around as a back up.

0 comments

city41

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities