Saturday, 15 September 2012

github - Git Branch, Rebase, Merge & Tags -



github - Git Branch, Rebase, Merge & Tags -

this forked repo

it big repo few hundred one thousand commits , branched 20+ deep. commits tags have (-r#) ones hardware. have patch have applied sunxi-v3.4.24-r1 tag.

git clone https://github.com/iceblu3710/linux-sunxi-xenomai git checkout sunxi-v3.4.24-r1 git branch -t i-pipe-core-uminded git add together . git commit git force origin/i-pipe-core-uminded

i want rebase branch upstream kernel changes

git for-each-ref --format '%(refname)' refs/tags note: way short hash of commit these tags?

that list of tags repo, here whats relevant me:

refs/tags/sunxi-v3.4.24-r2 refs/tags/sunxi-v3.4.29-r0

how go upstream rebasing branch each of tags in clean manner?

and main problem rebase needs branch name or hash work, not take tags , not know how find tag hash other git log --all | grep "tag" takes quite while on big of repo.

thanks!

edit - way create sunxi-v3.4.24-r1 tag repo master , discard of commits before it? have tried utilize programs gitk , smartgit log bloody huge run out of memory. never merging downstream , next upstram branch that tag on. ??

to solve problem find tag hash, can utilize next command:

git rev-parse tag

this show commit hash.

git github

No comments:

Post a Comment