How do I have to clone a repository for use with the "Git Integration Plugin for JIRA"

What command do I have to use for the initial clone?

git clone --bare git@example.com:bla.git

or

git clone git@example.com:bla.git

?

The reason I am asking is that after some time, the clone gets really large (6.3 GB compared to about 600 MB for a freshly cloned bare repository), and git status

  • takes a long time
  • shows a lot of modified files

Is that expected? Do I have to work with bare repositories? Do I have to do a clean checkout from time to time? Do I have to clone with branches?

2 answers

1 accepted

Hello Martin

We are officially supporting Git Integration Plugin. As for you questions:

- both clone commands are supported

- bare clone makes sense for large repositories

- plugin fetches all available remote branches so no need to take care of that

- issue with modified files was fixed in version 1.2.11 (let me know which version of plugin you are using)

- as for clean checkout: yes making clean checkout makes plugin considerable faster. We are going to do it automatically in future versions of plugin.

Thanks. We will be upgrading to the newest version of the plugin for one of our customers soon, I am glad that this issue is fixed in newer versions.

Martin - if you have any support needs you can always contact us at support@bigbrassband.com

Cheers!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

77 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you