How to handle merge request on github.com

99 views
Skip to first unread message

vit...@gmail.com

unread,
Jul 5, 2018, 11:17:36 PM7/5/18
to golang-nuts
Hello Gophers,

I try to fork some package in Golang and right now want to return back changes in base package but I change import's.
Project owner can not apply merge request with my chages with different import paths. How you suggest resolving that problem?

Thanks.

Thomas Frössman

unread,
Jul 5, 2018, 11:36:28 PM7/5/18
to vit...@gmail.com, golang-nuts
Just change the import paths back again if you want to merge with upstream.

If you just want to work on code which is to be merged with upstream you should do the development in the upstream project path all the time instead of changing imports. If you are using git you can add your own repository location as a remote instead of checking it out in a different location..



--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thomas Frössman

Dave Cheney

unread,
Jul 6, 2018, 3:27:53 AM7/6/18
to golang-nuts
Have a read of this blog post by Francesc Campoy.

http://blog.campoy.cat/2014/03/github-and-go-forking-pull-requests-and.html

Reply all
Reply to author
Forward
0 new messages