如何找出分支中已修改哪些文件? [英] How can I find out which files have been modified in a branch?

查看:77
本文介绍了如何找出分支中已修改哪些文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个分支:master和bug1.我检查了bug1,做了很多更改和多次提交.如何获得分支上所有已更改文件的列表?我对哈希,日期或任何其他与提交有关的详细信息不感兴趣.我只想获取一个简单的触摸文件列表.

I have two branches: master and bug1. I checked out bug1, did bunch of changes and multiple commits. How do I get a list of all files that were changed on the branch? I'm not interested in hashes, dates or any other commit related details. I just want to get a simple list of touched files.

推荐答案

git diff --name-only master bug1

这篇关于如何找出分支中已修改哪些文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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