Hi, I have a GIT project with more than 2000 branches and more than 2000 commits.
There are a branch called "1595", I don't know who made it, when was merged, or wich files are affected, so, I am looking for any way to "search" all the commits made on this branch, and then find all the files affected by their commits.
There are any way to do it using Sourcetree or Bitbucket?
Git doesn't track information like that. A branch is just a named reference to a commit, and if you commit to a branch, it moves that reference.
What you can do is see all of the commits that are ancestors of that branch, but many of those will have been committed to other branches that either pre-dated your "1595", or were merged into it.
To do that in SourceTree, checkout that branch. In the log view, use the dropdown at the top to view "current branch". If you merge frequently, you may be able to use merge commit descriptions to get a rough idea of what branch sections of older commits belong to.
There may be a better way to do this using a git command line, but this isn't the best forum for those questions.
Not quite sure if the folowing can give you the searched info - it has even to be done on command line ...
I'm not quite sure if this would be absolutely robust for anybody, I use the following way:
Another option is via stash/bitbucket.
1- create a pull request for the branch
2- select source and destination features
3- at the bottom of the screen you have a nice overview of all the commits/diff. Here you can see the commits and messages, but also al the edited code in the "diff" tab.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs