The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Git command to list changes and additions on branch.

nick.maunder
Contributor
May 11, 2021

I would be interested to know the git command to list the files that have been changed / added in a branch. Basically the output you see the files tab window in a bitbucket pull request.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 5, 2022

Hey @nick.maunder 

G'Day!

I believe what you are looking for here is a git diff that will show the diff between the two branches and the files/code that has been changed.

git diff main...branch

Additionally, do check the following thread on Stackoverflow here if you wish to try multiple other ways to view branch changes.

Cheers,
Syahrul

TAGS
AUG Leaders

Atlassian Community Events