您如何查看最近的 SVN 日志条目? [英] How do you see recent SVN log entries?

查看:46
本文介绍了您如何查看最近的 SVN 日志条目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

键入 svn log 会在命令行上输出一个非常长且无用的列表.我不知道为什么这是默认设置.如果我想在终端上阅读(甚至可以阅读)300 个条目,我不介意输入 svn log --full 或类似的东西.

Typing svn log spits out an incredibly long, useless list on a command line. I have no idea why that is the default. If I wanted to read (or even could read) 300 entries on the terminal, I wouldn't mind typing svn log --full or something similar.

也许 SVN 人认为我想将该输出提供给另一个程序.但是,如果是这种情况,对程序进行更详细的调用会更有意义 - 而不是终端用户.

Perhaps the SVN guys are thinking I wanted to feed that output to another program. However, if that is the case, it would make more sense to have the more verbose call for the program - not the terminal user.

无论如何,我如何只查看一些最近的活动(例如最近 5 或 10 个条目)以查看发生了什么变化?

Anyway, how do I see just some recent activity like the last 5 or 10 entries to see what changed?

推荐答案

limit 选项,例如:

svn log --limit 4

svn log -l 4

仅最后 4 个条目

这篇关于您如何查看最近的 SVN 日志条目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆