I am using Bitbucket Server v7.13.0. I want to import the last commit and files on a repository to my locale, but it downloads all files on the repository. Even though I tried commands like --depth or filter-branch(prune) I got the same result. Do you have any solution suggestions for this?
Thanks.
Hi!
Are you looking for a way to only get the files that were modified/ added in the latest commit?
That's not what --depth 0 is for. You will get the whole repository but not the whole history meaning the clone will be faster and you can not go back to another commit.
As far as I know there is no straight forward way to only get the files that were adapted in the latest commit.
Or am I misunderstanding you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.