Group :: Development/Other
RPM: git-update-index-keeping-only
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Current version: 0.3-alt1
Build date: 25 june 2017, 14:52 ( 356.4 weeks ago )
Size: 6067 b
Home page: http://git.altlinux.org/people/imz/packages/git…
License: GPLv2+
Summary: rm all but matching files from Git index. (Helps git-filter-branch.)
Description:
List of contributors List of rpms provided by this srpm:
ACL:
Build date: 25 june 2017, 14:52 ( 356.4 weeks ago )
Size: 6067 b
Home page: http://git.altlinux.org/people/imz/packages/git…
License: GPLv2+
Summary: rm all but matching files from Git index. (Helps git-filter-branch.)
Description:
git-update-index-keeping-only
- A simple executable script that removes all but matching files from
Git index. It is a useful helper for git-filter-branch --index-filter
(for convenience, git-filter-only-files script is included). It is
implemented on top of git-rm. It takes the list of files to keep on stdin.
git-filter-only-files OLD_COMMIT NEW_BRANCH
- A wrapper around git-filter-branch to rewrite history so that only
some specified files are kept.
git-ls-paths-modified-since SINCE CURRENT_COMMIT
- A helper to list the files modified or added in the diff between
2 commits (SINCE and CURRENT_COMMIT).
Example of usage:
FILES="$(git-ls-paths-modified-since SINCE)"
export FILES
git filter-branch \
--index-filter 'echo "$FILES" | git-update-index-keeping-only -q'
or simply:
git-ls-paths-modified-since SINCE | git-filter-only-files HEAD NEW_BRANCH
Current maintainer: Ivan Zakharyaschev - A simple executable script that removes all but matching files from
Git index. It is a useful helper for git-filter-branch --index-filter
(for convenience, git-filter-only-files script is included). It is
implemented on top of git-rm. It takes the list of files to keep on stdin.
git-filter-only-files OLD_COMMIT NEW_BRANCH
- A wrapper around git-filter-branch to rewrite history so that only
some specified files are kept.
git-ls-paths-modified-since SINCE CURRENT_COMMIT
- A helper to list the files modified or added in the diff between
2 commits (SINCE and CURRENT_COMMIT).
Example of usage:
FILES="$(git-ls-paths-modified-since SINCE)"
export FILES
git filter-branch \
--index-filter 'echo "$FILES" | git-update-index-keeping-only -q'
or simply:
git-ls-paths-modified-since SINCE | git-filter-only-files HEAD NEW_BRANCH
List of contributors List of rpms provided by this srpm:
- git-update-index-keeping-only