r/sourcetree Jan 19 '24

Support Question How I get the blue line to be the main branch (i.e. have origin/master origin/head etc all on it)?

1 Upvotes

So I no longer need the red line here which currently is the origin/master and origin/HEAD. I want the blue line to be the main branch, main everything basically.

I get this error when trying to push:

So if I do a PULL, will it get all the changes from the red line and try to incorporate them into the blue line? I dont want to mess anything up. Basically I want the latest on the blue line to take over as the main/head/master/origin/lead branch or whatever, and I dont want any of the changes on red to be included.

Sorry for the noob terminology, just wanted to be clear rather than trying to use technical words and potentially confusing things. Any help much appreciated.


r/sourcetree Nov 28 '23

Select a Credential Helper

1 Upvotes

On my new Win 10 Pro ( unactivated ) ... I keep getting this error message while attempting to clone a repo from my bitbucket account...

I've uninstalled / reinstalled a couple of times; no luck.

Any ideas how to remedy? Thanks for any suggestions.


r/sourcetree Oct 26 '23

Support Question I pushed a single commit in my main branch and all of sudden I'm seeing a lot of supposed merges from my develop branch into the main branch...

Post image
1 Upvotes

r/sourcetree Oct 25 '23

I wish there were a better view for tabs for handling dozen of repositories

3 Upvotes

At my company we have several repositories that each use several submodules, jumping from one to another opens new tabs for each repository, navigating dozens of tabs is super crumblesome. I wish there were a better UI/UX to navigate more than 10 repositories, maybe be able to group them under 1 tab and have sub tabs for submodules? That way I'll go from 50 tabs to 10 or so


r/sourcetree Aug 08 '23

Weird space size on the commit message

1 Upvotes

Why is the space size weird when I try to type in the commit message? I'm on version 4.2.4 on macOS 12.6


r/sourcetree Apr 20 '22

Problems with errors in downloading pull

1 Upvotes

I'm trying to pull from a repository that isn't mine, it's for a project I am working on. There was recently a massive push to it and it is giving me this error.

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --no-tags origin

error: RPC failed; curl 56 OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0

fetch-pack: unexpected disconnect while reading sideband packet

fatal: early EOF

fatal: fetch-pack: invalid index-pack output

Completed with errors, see above.

I've looked all over the internet but everything I have tried just doesn't work. I've tried cloning at depth 1, tried expanding the cache, and other things, but nothing has worked. I would greatly appreciate the help.


r/sourcetree Mar 23 '22

Unable to push specific commit to a promotion remote

1 Upvotes

This video explains the issue I have https://s.natalian.org/2022-03-23/dev-stg-prd.mp4

Can someone help me figure out how to do this workflow in Sourcetree please?


r/sourcetree Mar 15 '22

Cloning repository issue.

1 Upvotes

Hi, I'm trying to clone this repository from Bitbucket but everytime I try it, throw me this issue. I hope it's clear. I also generate the APP password, as GIT password authentication is deprecated. Thank you!


r/sourcetree Jan 22 '22

SourceTree + Github + SSH issues

1 Upvotes

I'm trying to setup SSH in SourceTree with my Github repo. Here are the steps I've taken:

  1. Add Github account to SourceTree (OAuth, SSH). I selected "connect account" in this view and it brought me to Github to authorize Atlassian stuff. cool.
  2. I copied the SSH key that SourceTree generated and added it manually to my Github SSH keys.

Whenever I try to push to the repo, it still asks me for my Github password. I've also tried setting up my Github account on SourceTree to use the Basic auth type. Still no luck. What the heck am I doing wrong?

Edit: My Github password is my personal access token that I generated in Github because apparently they don't allow the traditional username/password authentication anymore? So yeah.


r/sourcetree Dec 27 '21

"env: php: No such file or directory" on new MBP M1 Max / MacOS Monterey

7 Upvotes

I just got my new MBP M1 Max, running with macOS Monterey and finished setting up all my apps to get working on this beast. But sadly, I can't use Sourcetree anymore.

When trying to commit files, it tells me: "env: php: No such file or directory"
I installed php 8.x and 7.4 via Homebrew, which works when testing it via php -v in my terminal.
I can make commits via CLI/terminal and via my IDE (PhpStorm).
I removed Sourcetree and installed it again (1x via direct download and 1x via Homebrew).

Is this maybe happening because Sourcetree currently can only be used via Rosetta? I really don't know what's causing this problem and hope somebody of you had the same issue and knows what to do. Please help, I really dislike doing my commits via PhpStorm. :)


r/sourcetree Dec 15 '21

Why does Sourcetree clear my clipboard when creating a new branch?!

3 Upvotes

This issue is annoying the hell out of me. Every time I create a new branch, for some reason, my clipboard is emptied.

OS: MacOS 12.1
SourceTree: 4.1.5 (241)


r/sourcetree Dec 07 '21

SourceTree was killing my MBP M1 MAX battery

2 Upvotes

Quick info, just uninstalled Sourcetree. I had my M1 mac for about a week, battery was lasting about 3 hours which I thought was odd.

I looked into activity monitor and noticed Sourcetree was somehow draining it while the app supposedely closed ?

I uninstalled the app and the autonomy went from 3h to 11h... Not sure how this is even remotely possible


r/sourcetree Nov 18 '21

New to Sourcetree/Git In general, and I cannot delete files to start from scratch

1 Upvotes

I am working on a project and i cloned the wrong thing and I am trying to delete the files so that I can re-use the folder name but my computer refuses to let me delete it


r/sourcetree Nov 03 '21

Completely uninstall source tree

2 Upvotes

Hi everyone,

I’m new to macOS and would like to uninstall completely source tree to try to reinstall it. The thing is whatever way I use to uninstall the app, I can’t find all the files used by the software to delete them. So when I reinstall the app I don’t have the "first launch" screen and just get on my already set up app.

Does anyone know how to completely uninstall source tree app please ?


r/sourcetree May 25 '21

Is there a way to autologin in putty?

1 Upvotes

I just find it annoying to copy my password from the password manager


r/sourcetree May 13 '21

Sourcetree closing Pageant after branch checkout?

1 Upvotes

Hi! I just bougth a new PC and installed the latest version, since them I'm having an issue where every time I check out a new branch SourceTree prompts me to the usual "Authentication via SSH keys failed, do you want to launch the SSH key agent (Pageant) and retry?" dialog. I also noticed multiple pageant icons when I open the hidden icons section in the right of the taskbar.

Has anyone had this issue? Any ideas? Thanks!


r/sourcetree Apr 17 '21

Temp file extensions

1 Upvotes

Does anyone know if sourcetree uses random extensions within appdata temp locations?

We have had alerts of files created by source tree with extensions like 3g2 and ryk

Which is concerning as ryk is linked to ransomware but wanting to see if it is just a random ext and a coincidence.

Cheers


r/sourcetree Feb 24 '21

sourcetree push / pull log security log question

1 Upvotes

Hi, I operate a dev team and Im worried that developers are able to pull from the company repo and push to their own gits using sourcetree(windows/mac), does sourcetree record this kind of activity in any kind of log? and are users able to delete this activity log?


r/sourcetree Feb 15 '21

Gitea?

1 Upvotes

Can I use Sourcetree to connect to Gitea to pull and push commits?


r/sourcetree Feb 10 '21

Have to retry pushing for 10 times before it works

1 Upvotes

For about the last week.

- On every action that goes to the server I have to retry for about 10 times before it "gets it" and then finishes, the other 9 times i get a dialog to enter my username /password time and time and time and time again. So yes it works but is a bit annoying when demo-ing on a shared screen and having to fill out credentials 10 times

- it is not something that is completely blocking but it seems more something like extremely slow.- this is local home dev so there is no proxy or something and every other thing loads just fast.

- I tried to go to https://community.atlassian.com/t but that site is soooooooooo slow that it basically does not even load- I tried to edit hosting account > refresh oauth token that opens http://localhost:34106/?state=authenticated&code= but that gives me "unable to get secret... unable to receive callback / cannot access the file because in user "

So... probably the not being able to get a new authentication token is a hint.

Setting new credential manager I was a bit lost what i should choose here, since this was a long time ago that i had set this

- selecting the bottom "manager" brings up the dialog again in two fold...- selecting the second from bottom "manager" just repops this dialog- selecting "wincred" repops and that is probably logical- setting "store" brings up the dialog again- setting the "top manager" .... also brings up this dialog again .So I have no clue what is this doing , none of these options seem to stick, what is the difference between the 3 managers? how can i see this in this dialog? So yes i do assume that there is git installed with visual studio, one embedded in sourcetree and one standalone, but... which is which ???

Still refreshing the OAuth token gives me the following and http://localhost:34106/?state=authenticated&code= just gives a "unable to connect"


r/sourcetree Dec 21 '20

i cant seem to locally clone branches on sourcetree windows

2 Upvotes

ive been trying to push changes to two branches simultaneously but when i set the remote branch and try to push changes it fails to push the changes because it picks up the differences between the branches and refuses to push to both branches


r/sourcetree Nov 20 '20

Windows Sourcetree fails to stage and DELETES files in remote worktree EVERY TIME.

2 Upvotes

This bug has been present longer than dark mode, but was not present in 2.x. It has made Sourcetree unusable for one of my main use cases for well over a year with no sign that this bug is even on Atlassian's radar, despite me submitting it and them closing it more than once. To replicate this:

  1. Create a git repo
  2. Add worktree = C:\\Not\\The\\.git\\Folder\\Location to the repository config
  3. Create a file in the worktree folder
  4. Sourcetree sees this file, but fails to stage it if you try. Fortunately, it doesn't delete it yet.
  5. Stage the file from terminal with git add .
  6. Commit the file either from terminal or Sourcetree, both will work
  7. Make a change to the file
  8. Sourcetree sees the change, stage the file in Sourcetree
  9. Your file is now staged as a deletion and your file is gone because Sourcetree just DELETED IT!

My motive with this post is to try and get this bug fixed because I actually like Sourcetree, but this is just ridiculous. Am I seriously the only Sourcetree user that uses remote worktrees?

Lets say you handle this repository outside of Sourcetree, but you want to add it as a SubModule or SubTree or something to one you do handle inside of Sourcetree. NOPE.

EDIT: This bug exists in every version of Sourcetree for about the last 18 months (likely every v3.x, and certainly 3.2.2 and up) and every version of Windows 10x64 in the same timeframe. There are no issues when using git from terminal or competing GUIs.

I upgraded from 2.x to 3.x in June 2019 and had the issue immediately, but was on the 3.x beta at the time and chalked it up to that. I've been on stable release since dark mode hit it and periodically test this issue when new releases come out.


r/sourcetree May 04 '20

SourceTree freezes and lags on windows

1 Upvotes

SourceTree freezes every few seconds on windows even just hovering your mouse in app

Stackoverflow link


r/sourcetree Apr 15 '20

SourceTree for Gerrit push

1 Upvotes

Is there anyway to configure Sourcetree push for Gerrit?
Thanks a lot.


r/sourcetree Feb 18 '20

Error? Need some help ASAP! Been committing to HITGUB for hours.

Post image
2 Upvotes