diff options
| author | Michael Forney <mforney@mforney.org> | 2016-12-11 16:04:20 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-12-13 23:10:30 -0800 |
| commit | 293f5a93b77d92fd65db7f3d0df654f102e46cfb (patch) | |
| tree | 6ecd1170e3dd793862dd852814dc1b4cd5e44260 /pkg/git/commands.txt | |
| parent | 9a506a6834df01a26795cea222b410f206efa9fa (diff) | |
Move to flat package hierarchy
Note to self: never try to move submodules again
To migrate your existing submodules (more or less):
set -x
set -e
mkdir .git/modules/pkg
for old in */*/src ; do
new="pkg/${old#*/}"
if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
continue
fi
git -C ".git/modules/$old" config core.worktree "../../../../../$new"
rmdir "$new"
mv "$old" "$new"
sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
mv "$new/.git.tmp" "$new/.git"
mkdir ".git/modules/${new%/src}"
mv ".git/modules/$old" ".git/modules/$new"
rm "${old%/src}"/*.ninja
mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
rmdir "${old%/src}" || true
done
sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
mv .git/config.tmp .git/config
Diffstat (limited to 'pkg/git/commands.txt')
| -rw-r--r-- | pkg/git/commands.txt | 151 |
1 files changed, 151 insertions, 0 deletions
diff --git a/pkg/git/commands.txt b/pkg/git/commands.txt new file mode 100644 index 00000000..a5d3f05a --- /dev/null +++ b/pkg/git/commands.txt @@ -0,0 +1,151 @@ +# <cd src/Documentation && printf '%s\n' git-*.txt +git-add.txt +git-am.txt +git-annotate.txt +git-apply.txt +git-archimport.txt +git-archive.txt +git-bisect-lk2009.txt +git-bisect.txt +git-blame.txt +git-branch.txt +git-bundle.txt +git-cat-file.txt +git-check-attr.txt +git-check-ignore.txt +git-check-mailmap.txt +git-check-ref-format.txt +git-checkout-index.txt +git-checkout.txt +git-cherry-pick.txt +git-cherry.txt +git-citool.txt +git-clean.txt +git-clone.txt +git-column.txt +git-commit-tree.txt +git-commit.txt +git-config.txt +git-count-objects.txt +git-credential-cache--daemon.txt +git-credential-cache.txt +git-credential-store.txt +git-credential.txt +git-cvsexportcommit.txt +git-cvsimport.txt +git-cvsserver.txt +git-daemon.txt +git-describe.txt +git-diff-files.txt +git-diff-index.txt +git-diff-tree.txt +git-diff.txt +git-difftool.txt +git-fast-export.txt +git-fast-import.txt +git-fetch-pack.txt +git-fetch.txt +git-filter-branch.txt +git-fmt-merge-msg.txt +git-for-each-ref.txt +git-format-patch.txt +git-fsck-objects.txt +git-fsck.txt +git-gc.txt +git-get-tar-commit-id.txt +git-grep.txt +git-gui.txt +git-hash-object.txt +git-help.txt +git-http-backend.txt +git-http-fetch.txt +git-http-push.txt +git-imap-send.txt +git-index-pack.txt +git-init-db.txt +git-init.txt +git-instaweb.txt +git-interpret-trailers.txt +git-log.txt +git-ls-files.txt +git-ls-remote.txt +git-ls-tree.txt +git-mailinfo.txt +git-mailsplit.txt +git-merge-base.txt +git-merge-file.txt +git-merge-index.txt +git-merge-one-file.txt +git-merge-tree.txt +git-merge.txt +git-mergetool--lib.txt +git-mergetool.txt +git-mktag.txt +git-mktree.txt +git-mv.txt +git-name-rev.txt +git-notes.txt +git-p4.txt +git-pack-objects.txt +git-pack-redundant.txt +git-pack-refs.txt +git-parse-remote.txt +git-patch-id.txt +git-prune-packed.txt +git-prune.txt +git-pull.txt +git-push.txt +git-quiltimport.txt +git-read-tree.txt +git-rebase.txt +git-receive-pack.txt +git-reflog.txt +git-relink.txt +git-remote-ext.txt +git-remote-fd.txt +git-remote-testgit.txt +git-remote.txt +git-repack.txt +git-replace.txt +git-request-pull.txt +git-rerere.txt +git-reset.txt +git-rev-list.txt +git-rev-parse.txt +git-revert.txt +git-rm.txt +git-send-email.txt +git-send-pack.txt +git-sh-i18n--envsubst.txt +git-sh-i18n.txt +git-sh-setup.txt +git-shell.txt +git-shortlog.txt +git-show-branch.txt +git-show-index.txt +git-show-ref.txt +git-show.txt +git-stage.txt +git-stash.txt +git-status.txt +git-stripspace.txt +git-submodule.txt +git-svn.txt +git-symbolic-ref.txt +git-tag.txt +git-tools.txt +git-unpack-file.txt +git-unpack-objects.txt +git-update-index.txt +git-update-ref.txt +git-update-server-info.txt +git-upload-archive.txt +git-upload-pack.txt +git-var.txt +git-verify-commit.txt +git-verify-pack.txt +git-verify-tag.txt +git-web--browse.txt +git-whatchanged.txt +git-worktree.txt +git-write-tree.txt |
