github - git: Merge branch logs -


how can merge history of git project commits histories considered parts of 1 branch?

currently have this:

* 465a83a highlight search * 37a367d tab=3; autosavesession (not using yet) *   9f2559c merge branch 'master' of github.com:shahverdy/.vim |\   | * 6bf7783 savesession added. | |\   | | * 6cdd383 changes path allocation | | |\   | | | * de535b2 update readme.md | | | * cb78dae update readme.md | | | * 6664428 update readme.md | | | * b6f3869 modifications + readme.ms | | | * 0924e77 oops! vimrc not included in last commit | | | * c030172 sweeping away ... | | | * d67280e bundle installer added, extaras sweeped away | | | * 10a669c cursors fixed... | | | * 9dfd01f cursors edited ... | | | * 0b5d8aa syntax php , javascript added | | | * dd5a21d bug fixed | | | * ad5b9f2 syntax php , javascript added | | | * 99e5595 fixed code folding+ search highlighting | | | * 69c7f77 file explorer fixed | | | * ba5fbf7 .vimrc added | | * f875ee1 totel reset | * 9edf692 update * 9c71074 new plugins 

and want this:

* 465a83a highlight search * 37a367d tab=3; autosavesession (not using yet) * 9f2559c merge branch 'master' of github.com:shahverdy/.vim * 6bf7783 savesession added. * 6cdd383 changes path allocation * de535b2 update readme.md * cb78dae update readme.md * 6664428 update readme.md * b6f3869 modifications + readme.ms * 0924e77 oops! vimrc not included in last commit * c030172 sweeping away ... * d67280e bundle installer added, extaras sweeped away * 10a669c cursors fixed... * 9dfd01f cursors edited ... * 0b5d8aa syntax php , javascript added * dd5a21d bug fixed * ad5b9f2 syntax php , javascript added * 99e5595 fixed code folding+ search highlighting * 69c7f77 file explorer fixed * ba5fbf7 .vimrc added * f875ee1 totel reset * 9edf692 update * 9c71074 new plugins 

edit

i tried git rebase, output current branch master date., , still history shown before.

thanks

use git rebase --interactive 9c71074 - default merge commits squashed. here example.

ebg@ebg(390)$ git log --graph --oneline --all *   67fc064 merge branch 'br-b' |\   | *   ae81ba0 merge branch 'br-c' br-b | |\   | | * 7fc3f2c c2 | | * ee878fc c1 | | * 08bbe31 c | * | 7112b66 b2 | |/   | * fb2bb16 b * | a4c6fb7 a2 |/   * e2f832e ebg@ebg(391)$ git rebase --interactive e2f832e rebased , updated refs/heads/master. ebg@ebg(392)$ git log --graph --oneline --all * 1123db2 c2 * 47b327e c1 * 8136393 c * 4276b1f b2 * 1020ffa b * a4c6fb7 a2 | *   ae81ba0 merge branch 'br-c' br-b   # not on master | |\   | | * 7fc3f2c c2 | | * ee878fc c1 | | * 08bbe31 c | * | 7112b66 b2 | |/   | * fb2bb16 b |/   * e2f832e ebg@ebg(393)$ git log --graph --oneline       # master * 1123db2 c2 * 47b327e c1 * 8136393 c * 4276b1f b2 * 1020ffa b * a4c6fb7 a2 * e2f832e 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -