Then using the "Push" button there worked except now the CredentialHelperSelector Dialog popped several times where I selected the "manager" option and then the push finally succeeded! I used the right click on the branch and selected the push option I wanted, such as "Push to origin/master (tracked)" which then proceeded to pop a push Dialog with all the possible branches to select from were properly displayed! Nothing worked, the "Push" button at the top never worked right, never showed any branches to push, until AFTER: There is not even a post here from Atlassian with the definitive answer if there is one. I really am amazed and disgusted that this problem that although was originally reported in Aug 2019, at least 18 months ago, that Atlassian hasn't been able, or hasn't bothered to release a fix for this. ( I always get a popup credential helper selector as. Trying to push from the command line caused a couple of CredentialHelperSelector forms to pop up asking me to select a credential helper: and I have no idea which of the 10 options I want.įound an article that seemed to say we want the "manager" option. I followed the advice from the first post in this thread and upgraded to the latest embedded Git but that didn't fix the issue and now just noticed that I cannot even push from the command line either. Was about to give up after 3 hours of farting around trying about every solution mentioned here, such as: I was also having a problem with the Push since I upgraded to the latest Sourcetree 3.4.2 this morning. If it doesn't work for you find another git client that does. Personally I prefer using the system git, since I have git installed through homebrew, and it gets updated automatically whenever I do a brew update/upgrade, which I do a couple of times a week anyway.Īfter my initial issues with branches not showing up properly in the push dialog, I could solve these by upgrading the git version in use, and I have never experienced similar issues since (I've used sourcetree extensively both on Windows and on MacOS).Ī final thing to be aware of is that sourcetree is a free program and that there is a multitude of similar - free - solutions available (VS Code has excellent git clients, both built in and as extensions for example) so you're not obliged to use sourcetree. Here you can also update the embedded git version. This setting is available in the git tab of the settings dialog. The second thing to be aware of is that sourcetree comes with an embedded version of git but that if you have git installed separately you can also use the 'system version' of git. Some of the issues occurring have nothing to do with sourcetree itself, but with the installed git and it's configuration. I think most issues noted here have to do with a disparity between the sourcetree version and the git version in use.īe aware that sourcetree is nothing but a UI wrapper around git. The Push button will still show 1 task to complete, but the file will be uploaded to the cloud repository check that by going to /your account / your repository, master branch or whatever you selected, the file should be there. Now, you should have the possibility to choose the remote repository and branches Make sure you have the last line selected, press Push Go on the left menu/ workspace, see the master branch additional sign and Push button with 1 task waiting į. Go/open again SourceTree, select local repository, see the newly created file3.txt click on it, choose Stage Selected, write something on the Comment window, click "Commit" button below the comment section.Į. Go on the local repository folder create a new file, let's say file3.txt Now you should have the branches shown on the workspace of SourceTreeĭ. Total 3 (delta 0), reused 0 (delta 0), pack-reused 0Ĭ. $ git push origin # Example: git push 2021-test-v2 master # aka push to remote repository 2021-test-v2 and brunch master $ git commit -m "" # Example: git commit -m "second file to upload, one more line" As you can see, there are no branches on the right menu also, the push dialog menu looks like in the picture of the original post ī. Make sure you are on the local repository, within SourceTree click Terminal, which opens the command line interface: I've tried most of the fixes here, nothing works updated SourceTree to the latest version - currently 3.4.2 I'll explain a lot since I'm a noob, so may others can check this fix:Ī.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |