Github - merging fork into master (locally) -


so have following problem: when started programming, forked repository (using github windows) browser-game. time now, made stuff, did git commit , issued pull request using webpage. original author did authorize pull request , changes went live. recently, have become "official" author on original repository.

so dont want work on "fork" longer instead dev on original. using github windows, decided "clone" original repo. github shows forked (ancientsion/fieryvoid) repository , original (aatu/fieryvoid).

now somehow "merge" forked repo local clone of original repo , there commit master repo directly, way deploying local, not yet commited changes fork live version while @ same time getting rid of fork repository.

however, have no idea if works , if does, how. can please advise ?

i don't think github windows interface supports this, can done via git bash console. untested, steps ought correct, since i've done similar (identical, in fact) before. assumes clone, ancientsion/fieryvoid, up-to-date aatu/fieryvoid, can done pull followed merge, or, avoid merge commits, git pull --rebase. have ancientsion/fieryvoid , aatu/fieryvoid, both present locally, ancientsion/fieryvoid ahead of aatu/fieryvoid few commits. need pull in commits aatu/fieryvoid running following:

cd  path/to/local/clone/of/aatu/fieryvoid git remote add local_pull path/to/local/clone/of/ancientsion/fieryvoid git pull local_pull master git push origin master 

couple of assumptions:

  1. you working on master branch of ancientsion/fieryvoid. if not, replace master in line 3 branch name.
  2. origin remote tracks online repo aatu/fieryvoid

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -