My question is "how can I do" and you answer is "why you do this".
My main question is:
git-filter-branch allow to select commits to filter. How can I select all
commits from a given commit C, including C?
This question can be declined for git-rev-list.
This question has no meaning ??
I can do
Because C can be a base commit of branches and merges, then it's a
nightmare to rebase.
I know that scripts exists to rebase merges (based on git-rev-list,
git-cat-file, git-hash-object/git-commit-tree), but those scripts redo the
git-filter-branch job.
Honestly, I'm not really capable of dea
I want to change something to only one commit C:
I can do
git filter-branch --X-filter 'test $GIT_COMMIT = CHash && do-something'
-- --all
But it's an useless heavy work: only descendants of C (including C) need to
be scanned.
The idea is to change C by replacing it (git replace -i C) and re
Because I want to handle a lot of projects with there own life cycle: I
project to use git submodules.
Each projects/submodules have very a similar contents: then a lot of git
objects are identical between submodules.
I can see duplications with:
find .git/modules/ -type d -name objects | wh
new_commit=
git tag -l --points-at "$cmt" |
while read T; do
git tag -f "$T" "$new_commit"
done
Le mardi 16 septembre 2014 08:44:27 UTC+2, Alcolo Alcolo a écrit :
>
>
>
> Le lundi 15 septembre 2014 23:34:52 UTC+2, Dale Worley a
Le lundi 15 septembre 2014 23:34:52 UTC+2, Dale Worley a écrit :
>
> > From: Alcolo Alcolo >
>
> > My git history is complex and it's a nightmare to rebase from old
> commits.
>
> I'm not sure what you're attempting to do, but this might help. I
Le vendredi 12 septembre 2014 14:59:05 UTC+2, Dale Worley a écrit :
>
> > From: Alcolo Alcolo >
>
> > There is a way to remove all old replaced commits for ever ?
>
> "git gc --aggressive" works, but you have to purge all the recorded
> references
Le vendredi 12 septembre 2014 14:53:13 UTC+2, Roman Neuhauser a écrit :
>
> # alco...@gmail.com / 2014-09-12 04:49:43 -0700:
> > I'm using git replace command to alter ancestry of commits.
> > I want to delete merged branch then I suppress the branch parent of the
> > merge commit.
> >
> >
I'm using git replace command to alter ancestry of commits.
I want to delete merged branch then I suppress the branch parent of the
merge commit.
But, I see that the old reference of replaced commits still exists.
Then my branch is not deleted but hidden. I would like garbage collect it.
There i
Le mercredi 27 août 2014 18:42:17 UTC+2, Konstantin Khomoutov a écrit :
>
> On Wed, 27 Aug 2014 07:44:11 -0700 (PDT)
> There's no such thing as "git-scm": "Git" is this particular SCM system
> and its official native Windows port is called "Git for Windows"
> (and this is what TortoiseGit is u
There is a way to configure my git-scm to be case sensitive ?
> git init
> echo a > a
> git add a
> git commit -m a
> mv a A
> git status
with git-scm: "Nothing to commit"
with cygwin git: "deleted a"
Note:
My cygwin is configured with /etc/fstab: "none /cygdrive cygdrive
binary,posix=1,use
11 matches
Mail list logo