|
|
|
|
|
by nickm12
1598 days ago
|
|
It feels like there are as many git workflows as developers. Personally, for almost all of my development I work on a single commit at a time. When I'm positive some changed code is going to be in the final commit I `git commit --amend` it to the tip of the main branch. Unstaged changes are what is in progress. I use `git show` to see the stuff I'm done with but haven't pushed and `git diff` to see the stuff that's in progress. Sometimes I want to undo something I've committed... I either do it manually or use aliases to help out. I rebase frequently to bring in changes from other devs. |
|