Hacker News new | past | comments | ask | show | jobs | submit login

As an additional layer of safety, you can also commit to a local repo, or a private bitbucket repo, and give it all a nice once over before pushing everything to GH. At least this keeps your screw ups out of public scope.



Isn't that what you're doing anyways when you use a DCVS? Granted, I use mercurial. It has two components on your side, your working directory, and the actual repo. Committing moves changes from your working directory, and saves them to a branch on your local repo. Then you get the local repo to push that change to a remote one.

In essence, "committing" then is the act of pushing your changes to your local repo. Or you could, you know, just look at the changes on disk if really required.


Yes, that's how Git works. I'm not sure what fein meant.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: