[kwlug-disc] Github question

Khalid Baheyeldin kb at 2bits.com
Tue Apr 28 22:00:52 EDT 2020


For some time now, I have been contributing to a project on Github.
All works well using the following workflow:
- Checkout the official project from github
- Fork the project on github
- Add my fork as a remote
- Create a local branch (say newboard)
- Make my changes locally
- git commit -a
- git push khalid newboard:newboard
- Create a pull request for the maintainer

This works well, but only if I plan it from the start (create a local
branch, ...).

But then, I did this:

- Checkout the official project
- Make considerable local changes

What I want now is to be able to commit the changes to my own local branch
and push them to my fork, without having

Is there a way to do this, without having to copy the changed and new files
somewhere, go through the first workflow, then copy them over?

Would git stash help in some way?
-- 
Khalid M. Baheyeldin
2bits.com, Inc.
Fast Reliable Drupal
Drupal performance optimization, hosting and consulting.
"Sooner or later, this combustible mixture of ignorance and power is going
to blow up in our faces." -- Dr. Carl Sagan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20200428/37be138b/attachment.htm>


More information about the kwlug-disc mailing list