文档介绍:: .
群英汇 TopGit 改进 2• tg: To abort: git rm -f .top* && git checkout tgmaster
&& tg delete t/tg_push_all
•
• # Hack, Hack, Hack...
• # Test, Test, Test...
•
• $ git st
• # On branch t/tg_push_all
• # Changes to be committed:
• # (use "git reset HEAD <file>..." to unstage)
• #
• # new file: .topdeps
• # new file: .topmsg
• #
• # Changed but not updated:
• # (use "git add <file>..." to update what will be
committed)
• # (use "git checkout -- <file>..." to discard changes
in working directory)
• #
• # modified: .topmsg
• # modified: tg-
• #
•
• $ git ci -a -m "add --all option support to tg_push"
• [t/tg_push_all 7df16a5] add --all option support to
tg_push
• 3 files changed, 22 insertions(+), 1 deletions(-)
3• create mode 100644 .topdeps
create mode 100644 .topmsg
• 切换到 master (debian) 分支,编译新的 群英汇 软件包 topgit+,并
安装
• $ git co master
• $ git br
• * master
• t/debian_locations
• t/export_quilt_all
• t/fast_tg_summary
• t/tg_completion_bugfix
• t/tg_patch_cdup
• t/tg_push_all
• tgmaster
• $ make -f debian/rules debian/patches
• rm -rf debian/patches
• tg export --quilt --all debian/patches
• Exporting t/debian_locations
• Exporting t/export_quilt_all
• Exporting t/fast_tg_summary
• Exporting t/tg_completion_bugfix
• Exporting t/tg_patch_cdup
• Exporting t/tg_push_all
• Exported topic branch (total 6 topics) to directory
debian/patches
• $ git st