I currently use Atlassian/BitBucket on a linux server, but use a Windows pc for my code editing etc.. of my cloned branches. Can I use Tortoise Git for windows with my linux repo in bitbucket and if so how do I set it up?
It doesn't matter what operating system Bitbucket Server is run on.
How you set it up depends on whether you already have code on Bitbucket, or whether your code is local and you want to put it onto Bitbucket.
If your code is already on Bitbucket, then you simply click the 'clone' button in the sidebar (the first button under the project icon) to get the clone URL (see the Bitbucket documentation on how to clone a repository for more details). Once you have copied the clone URL, you can give it to Tortoise Git as the 'URL' field (see the TortoiseGit documentation on how to clone a repository for more details)
If your code is already local, then you will need to create a repository in Bitbucket. After that you can go to the TortoiseGit settings to change/set the remote of your local repo to the clone url of the repo you just created and push your code up to Bitbucket.
Hope that helps,
My initial problem is that TortoiseGit is wants me to configure the path to a Git.exe, which as far as I can tell I don't have since it's hosted on Linux and not windows. It will not let me do anything else until I give it a valid path to the exe.
A little background. We already have a Git repo that we are using on a linux server (Work stations are Windows 7) and have recently purchased Atlassian and migrated the repo to work with Bitbucket. Everything seems to work fine with the exception of getting TortoiseGit integrated due to the path issue mentioned above.
ok, the issue seems to be that we have a git repo using BitBucket on a linux server. We clone our repos into a public share folder on the linux server and work development from there accessing it from Windows 64 bit machines. So... I'm not sure how this will work since we don't have git installed on the local Windows machines. Do we need to install something like SmartGit on the linux server and work that way some how? Or install TortoiseGit on the windows machines and some how tie it into the linux public share cloned repos?
Appreciate any help!
May I ask why you have this set up?
Is there something stopping you from installing git on your local windows machines and cloning directly from Bitbucket rather than have a public share folder?
The easiest set up would be just to have Bitbucket running on linux, install git on your local machines, then clone directly from Bitbucket to your local machine.
Yes, our team works from public folders on the linux server because we work on a closed network doing embedded development. The team is kind of large so working in a public space allows us access to everyone else cloned repos in case someone is sick or out unexpectedly. Also, we need to be able to link our individual code builds directly to our target hardware for integration and testing. We've found that this doesn't work very well using local Windows machines.
Ah, I see.
Tortoise Git cannot use the git executable you have on the linux drive. The Tortoise Git client is a Windows program, and as such you need to install the git client locally on your Windows computers; it is a requirement of the program.
Hope that helps,
Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events