Merge Parallel Fork - grnet/e-science GitHub Wiki
-
git commit -m'commit message'any working directory changes orgit stashif you intend to apply them after the merge. (this is necessary if you don't want to lose working directory changes in step 2) -
git checkout <branchname>(eg.git checkout develop) for the branch you intend to merge into. -
git statusto check everything is ok.
-
git remote add <friendlyname> <git url>(eg.git remote add ioannisstenos https://github.com/ioannisstenos/e-science.git) git fetch <friendlyname>-
git merge <friendlyname>/branch(eg.git merge ioannisstenos/develop) -
git pushif needed to update your origin.
sudo apt-get install meldgit config --global diff.tool meldgit config --global difftool.prompt falsegit config --global merge.tool meldgit config --global mergetool.prompt falsegit config --global mergetool.keepBackup false
git difftool | git mergetool