Ammending commits and other Git features in the web editor(github.dev
)
#8891
Replies: 2 comments 7 replies
-
Thanks for opening, @unrealapex! I'd love to know if there are specific motivations / common scenarios for when you amend commits in github.dev? Wondering if there might be a common thread that it is not apparent that commits get published to the remote automatically in github.dev, and folks are looking to amend their commits because of this. |
Beta Was this translation helpful? Give feedback.
-
Manual push doesn't make sense for me. A git repository lives somewhere. Where would unpushed commits live? If each commit needs to settle on the GitHub hosted repository, then this is a clean break—you are playing in your web browser, if you close it everything is gone, if you commit something that saves to the obvious place. Amending is another story, amending is just a soft reset and a commit. This workflow also includes squashing. And this also fits cleanly with what github.dev already does. If it doesn't do that, I expect it will at some point without any controversy. |
Beta Was this translation helpful? Give feedback.
-
I feel that
github.dev
lacks some of the Git functionality that native VS Code has like amending commits for example, but I learned that there were technical and practical reasons for this feature not being added(discussed here). It would be nice ifgithub.dev
had close to or almost the same about of Git integration that native VS Code has. Amending commits would be useful if the web editor didn't push every time you commited(having an option to enable or disable automatic pushing, if disabled, user needs to push manually).Beta Was this translation helpful? Give feedback.
All reactions