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
70
votes
3 answers

How to rollback everything to previous commit

Recently in a project with multiple people, a commit was made as seen in the image below. Marked in red you can see a commit with the description/comment of 'Merge?'. This commit added numerous files and altered numerous others and was never…
captainrad
  • 3,760
  • 16
  • 41
  • 74
67
votes
7 answers

FileMerge quits immediately after launching from SourceTree

I regularly use Atlassian SourceTree (on Mac OS X) to launch FileMerge to resolve git merge conflicts. Out of the blue it has stopped working: when I right click and select Resolve Conflicts > Launch External Merge Tool, FileMerge launches, creates…
Greg Kopff
  • 15,945
  • 12
  • 55
  • 78
66
votes
5 answers

Removing/undoing a merge on Sourcetree

I made quite few changes in my project (I was working on a remote branch and not the master), I committed them and created a pull request on BitBucket and merged the branch to master. I had forgotten to push my changes after the commit. Now, after…
Rameez Hussain
  • 6,414
  • 10
  • 56
  • 85
64
votes
8 answers

How to integrate sourcetree for gitlab

I worked on github and integrated it to sourcetree (MAC version) for one of my project. I would like to use sourcetree for GITLAB. But I am not able to add remote of gitlab to source tree. In Repository settings, Only I can see host type as…
Wagh
  • 2,678
  • 1
  • 25
  • 29
63
votes
16 answers

Unknown SSL protocol error in connection

I want to push my commits to a Bitbucket repository but this error occurred: Fatal: unable to access 'https://myUsername@bitbucket.org/myUsername/myRepository.git/': Unknown SSL protocol error in connection to bitbucket.org:443
b24
  • 2,425
  • 6
  • 30
  • 51
62
votes
2 answers

edit commit comments in sourcetree after pressing commit

I added only 1 comment in the commit change. I didn't push yet. How can i add more comments to it? I'm a bit afraid to do things wrong.
clankill3r
  • 9,146
  • 20
  • 70
  • 126
61
votes
12 answers

SourceTree very slow with many repositories

I work on a lot of small projects on daily basis and need to switch often. I have over 50 Git Repositories in Sourcetree. Usually 5 projects are open in "Tabs". Switching from "Tab" in SourceTree is very slow. Sometimes up to 15 seconds. How can I…
Dimitri Dewaele
  • 10,311
  • 21
  • 80
  • 127
56
votes
14 answers

Bitbucket repository started returning "remote: Too many invalid password attempts. Try logging in through the website." (403) since yesterday

Since yesterday, bitbucket repository started returning this on any request: remote: Too many invalid password attempts. Try logging in through the website. fatal: unable to access 'https://xxxxxxxxx@bitbucket.org/xxxxxxxxxx/xxxxxxxxxxx.git/': The…
sunsetjunks
  • 740
  • 1
  • 9
  • 14
56
votes
5 answers

Git error: RPC failed; result=22, HTTP code = 404

I'm using SourceTree on OSX and using Git to push to Visual Studio Online. I get the following error: POST git-receive-pack (490857233 bytes) error: RPC failed; result=22, HTTP code = 404 fatal: The remote end hung up unexpectedly …
guinzu
  • 561
  • 1
  • 4
  • 6
56
votes
3 answers

How to reset the git-flow configuration in SourceTree?

In my team we are migrating from svn to git and we have agreed upon embracing the git-flow flow. I've been playing around a while with SourceTree and the Git-Flow extension. Now, we have decided that the develop branch will be called…
diegomtassis
  • 3,557
  • 2
  • 19
  • 29
56
votes
3 answers

How to switch to other branch in Source Tree to commit the code?

Recently I have installed Source Tree in my windows machine. How can I use the source tree for commit, merge of code to central repository?? And also how can I switch the branches ?? Can any one kindly provide me the links on how to overcome this??
praneeth
  • 635
  • 2
  • 9
  • 13
55
votes
2 answers

Recover deleted file from PhpStorm and SourceTree

I have an open project in PhpStorm that I manage using SourceTree. I was trying to remove some image files from a commit using SourceTree, but accidentally selected a file that should not be deleted. I haven't changed anything (in either PhpStorm…
Sven van den Boogaart
  • 11,833
  • 21
  • 86
  • 169
53
votes
6 answers

Force a push with SourceTree

I started using SourceTree a few days ago to manage Mercurial repositories with my Mac. Now I ran into the problem when pushing to my remote repository creates a new head on a new branch and I would like to force it. However, I am not able to find…
Michael Rose
  • 7,770
  • 3
  • 22
  • 26
49
votes
6 answers

How to use VS Code as merge and diff tool in SourceTree?

This question and some others discuss how this could work on a Mac, but I couldn't find documentation from Microsoft or Atlassian on a way to do this on Windows without trying to make it the global Git setting. (I just prefer to change things within…
HeyHeyJC
  • 2,627
  • 1
  • 18
  • 27
49
votes
9 answers

How to work with two different BitBucket accounts in SourceTree

I have two different bitbucket accounts set up. One is for work projects and one is for personal use. In BitBucket I have set up a repository in each of the accounts for different projects. In SourceTree I have a few existing personal projects…
motionpotion
  • 2,656
  • 6
  • 42
  • 60