Questions tagged [atlassian-sourcetree]

Atlassian Sourcetree is a Git and Mercurial desktop client for Mac and Windows.

Atlassian Sourcetree include features like Git LFS or interactive rebase.

1943 questions
35
votes
3 answers

SourceTree gives me a login Error when I try to add my gitlab account

I would like to add my gitlab account to sourcetree. Inside Preferences -> Accounts, I tried the 'add' button host: GitLab.com Auth type: greyed out username xxxxxx password: xxxxxx protocol: https when I go to save. I get a pop up screen that…
VK1
  • 1,676
  • 4
  • 28
  • 51
35
votes
14 answers

Can't login to GitHub from SourceTree anymore

I was able to login up until today when it just stopped working. I'm using a Windows 7 machine. I have 2-factor authentication. I've tried personal access tokens. I've tried deleting my credentials and re-adding them. I've tried nuking and/or…
Jeffrey Getzin
  • 531
  • 1
  • 6
  • 11
35
votes
3 answers

Can SourceTree show diff side-by-side

I started to use SourchTree recently. The default format of the diff is to use "-" or "+" to show changes. I like to have 2 files side-by-side and show the change line to line. However, I cannot find the option to change the format. Can you help?
user1443721
  • 1,110
  • 2
  • 14
  • 33
35
votes
2 answers

How can I find a file in my git repository with SourceTree?

How can I find a file in my git repository with SourceTree? Currently, the file has to be present in some branch log, but I want to search on the repository. I want to: right-click the file Log Selected... and peek at it's history. The…
Dimitri Dewaele
  • 10,311
  • 21
  • 80
  • 127
35
votes
3 answers

Stash the changes made with atlassian sourcetree

I have a lot of files changed in my project. I want to stash 2 files but i'm a bit afraid to make a mistake since i never did this. If i would stash now, will it only stash the 2 staged files? And if I don't mark the "Keep staged changes", will it…
clankill3r
  • 9,146
  • 20
  • 70
  • 126
35
votes
4 answers

SourceTree on Windows: How to connect to SSH?

I have an SSH access to my web hosting, it works great with PuTTY (I just had to enter my domain, username and password), however it seems much more complicated with SourceTree. While PuTTY has a field for "Host Name", "username" and "password",…
Community
  • 4,922
  • 7
  • 25
  • 37
34
votes
13 answers

Sourcetree/GIT - Cannot lock ref/reference broken, when pulling

A co-worker and I have been working on the same branch for a week, constantly pushing/pulling changes and all of a sudden today, I hit 'pull' to see if there were any changes I needed to pull and I got an error. This is in sourcetree by the way. The…
Geoff_S
  • 4,917
  • 7
  • 43
  • 133
34
votes
10 answers

Install SourceTree without an Atlassian account?

I'm trying to use SourceTree for a class that I'm teaching. In order to do that we need to install SourceTree onto the school's Windows computers. When we try to install SourceTree (Version 1.9.10.0) it demands an Atlassian account before it will…
MikeTheTall
  • 3,214
  • 4
  • 31
  • 40
34
votes
4 answers

How do you search for a branch in SourceTree

How do you search for a branch in SourceTree. It has gotten to the point where i have hundreds of branches and looking through a list in the remote branch tree is next to impossible. Is there a way of doing it?
Jimmyt1988
  • 20,466
  • 41
  • 133
  • 233
34
votes
8 answers

.gitignore doesn't ignore files

My .gitignore file gets ignored and the files which should be ignored are still visible. user@host ~/workdir % git status # On branch master # Changed but not updated: # (use "git add ..." to update what will be committed) # (use "git…
f00860
  • 3,486
  • 7
  • 41
  • 59
34
votes
11 answers

Atlassian SourceTree does not show remote branches?

I am running SourceTree 1.6.11 on windows. I have cloned a Git repository but it does not show my remote branches: Does SourceTree only show local branches? It shows all the tags though.
u123
  • 15,603
  • 58
  • 186
  • 303
34
votes
3 answers

SourceTree and Stash: Unable to get local issuer certificate

We have Atlassian Stash installed on a Windows 2008R2 server, and for the most part everything is working nicely. We have an SSL certificate issued by our local on-premise CA and a DNS entry set up so we can go to https://stash/ and it works quite…
34
votes
12 answers

IntelliJ Diff Tool in SourceTree

Is it possible to use IntelliJ Diff tool in SourceTree? I know it is accessible from terminal. Thanks
ThanksBro
  • 911
  • 1
  • 7
  • 20
32
votes
6 answers

Remove weird 'Iconr' file from the repository

In my git repository I've got a weird file in the staging area that's refusing to be reverted, removed, committed - basically I can't make it go away.. The file must be some ancient OS 9 file sitting there in the folder for years. Couple days ago…
ATV
  • 4,116
  • 3
  • 23
  • 42
31
votes
22 answers

Cloning a repository with SourceTree

Can someone give me a quick walkthrough on simply cloning a repo with SourceTree? In Bookmarks, I click on Clone Repository. For Source Path I paste in the URL which looks like this: git@codebasehq.com:client/appname/ios-application.git But I get…
soleil
  • 12,133
  • 33
  • 112
  • 183