Questions tagged [atlassian-sourcetree]
Atlassian Sourcetree is a Git and Mercurial desktop client for Mac and Windows.
2,066
questions
0
votes
0
answers
11
views
Prevent Git Credential Manager account prompt
Everytime I pull or push, I am shown a prompt from Git Credential Manager to pick an account, even though I only have one configured - How can I prevent this?
-1
votes
1
answer
26
views
Sourcetree commit description
How can I write a description to my commit message through the client? I’ve been searching around for this but not find anything.
My goal is to have something like:
This I my commit message.
And this ...
0
votes
1
answer
16
views
How to configure Sourcetree in Windows to automatically prepend the Jira Ticket ID in Commit messages
We are using SourceTree on Windows and Jira, and our rule is that the commit message always has to include the ticket ID from Jira, like HAD-4234.
It feels like this is something that can be automated....
0
votes
2
answers
65
views
How to change node version in source tree or in husky?
After I click Push in source tree, husky will run npm test and fail. I can find the message, 'husky > pre-push (node v17.9.0)'. So the node version is v17.9.0. I run unit test in my terminal which ...
0
votes
1
answer
36
views
Updating branch from another branch, then updating master
Firstly, please let me say that I am well aware that our setup is not "correct" or ideal, but this is how it has been done. I currently have...
My development machine, which has a branch (...
0
votes
0
answers
22
views
SourceTree/Fork not showing conflicts
I am having issues with SourceTree and Fork showing conflicts. I am using Unity and am updating specific parts of a prefab that is also being used by another colleague albeit different parts than ...
0
votes
1
answer
184
views
git pull: Not possible to fast-forward,
could you please help me to solve my issue? Error occurs when I try to pull from "dev" branch.
I browsed the solution and it says that I need to "rebase" but it didnt work out foe ...
0
votes
0
answers
25
views
How to ignore whitespace / CRLF changes in the beginning of a file in SourceTree?
In the git comparison, I would like to ignore if there's a CRLF in the beginning of the files.
Like in this image, I want git to ignore the difference of the lines added:
Is there any way of doing ...
2
votes
0
answers
93
views
Getting Fatal error while cloning git repo
So im getting this error in SourceTree while i was trying to clone the git repo.
error: 1462 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: ...
2
votes
1
answer
55
views
Git removes file when switching branches
If I checkout a git branch, sometimes a file path/to/File is deleted. I can see this as an unstaged change after the operation. It is always the same text file, which has not been edited for a long ...
0
votes
0
answers
30
views
git push Error batch request: fatal: unrecogized command 'git-lfs-authenticate ~ upload': exit status 128
I am doing software configuration management using git.(with sourcetree)
An error occurs when pushing with a remote branch.
batch request: fatal: unrecognized command 'git-lfs-authenticate ~ upload': ...
0
votes
0
answers
139
views
How to use SSH connect Gitea and SourceTree?
now I long to build a private git server myself by gitea and use SourceTree as a git GUI (on Windows)
Current situation & steps:
1.I've already set up a host with gitea, and create a repos here.
2....
0
votes
1
answer
20
views
Edit file from Sourcetree in PhpStorm
In Sourcetree you can right click a file (from current commit / branch) to edit, it then opens a window where a script target can be entered. What to fill in there so it opens the PhpStorm editor?
I ...
0
votes
0
answers
18
views
Confluence - automation
I have a 'fact of the day' on confluence but I'm looking for a way it to automatically refresh with a new one once a day.
Is this possible? If so how?
thanks in advance
(see below example)
enter image ...
1
vote
1
answer
48
views
How to git diff Word docx files in Sourcetree on Windows
I would like to see git diff of Word .docx files in SourceTree on Windows.
Per default they shows up like this:
I have tried changing .gitattributes and .git\config but it does not work for the ...
0
votes
0
answers
23
views
Updating SourceTree's browser.plist with non-existing repositories dynamically
I'd like to traverse some directories containing git repositories with my Bash script and add them to SourceTree's list if they don't exist already. I'd preferably do it with native macOS tools (e.g. ...
0
votes
0
answers
120
views
Push All Local Files of Repository to Remote
I have local repository (managed with Git) which contains all the older versions of my project and now I want to upload it to GitLab (GL) and SourceTree (ST). I created my project in the GL with link ...
1
vote
1
answer
138
views
Q: Sourcetree error : 'git status' failed with code -1"
Sourcetree showing this error 'git status' failed with code -1" while trying access project from bookmark, also I can't clone any other project from remote list or manual by url.
SSH connection ...
0
votes
1
answer
92
views
How to add Gitlab-token to sourcetree?
I try to commit a file to a gitlab repo, but I receive
git -c diff.mnemonicprefix=false -c core.quotepath=false
--no-optional-locks push -v --tags origin main:main remote: You are not allowed to ...
0
votes
0
answers
14
views
Newly added file not reflecting in sourcetree
Using sourcetree with bitbucket server,git version 2.36.0 after cloning to local repository,
while im trying to create new file it is not reflecting in sourcetree at all, but the changes made in ...
0
votes
1
answer
44
views
How to fix the missing Develop Branch in remote in Sourcetree?
I have cloned an existing repository and find that only master branch is found in remote but develop branch is not there. When I tried to merge master and /origin/master branch to local develop branch,...
0
votes
0
answers
66
views
cannot open local repository in sourcetree with bitbucket
I met a strange issue.
My sourcetree link to Bitbucket, which I already login my account when do sourcetree installation in my local PC.
It also works for clone the repository from remote.
While after ...
0
votes
1
answer
99
views
when user using Atlassian account password for basic authentication to connect to bitbucket cloud
If you are using the HTTPS protocol for Git operations
And when user cloning any repo so basically showing this are the error show => :
Cloning into 'demorepo'…
Password for 'https://...
-1
votes
1
answer
60
views
Sourcetree Update broke authentication
I just updated from SourceTree 3.4.6 to 3.4.8 (Win 10) and now I can't access the remote repositories.
Any operation results in this msg:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-...
0
votes
0
answers
53
views
Getting "Error: fatal: bad numeric config value '9999999999' for 'http.postbuffer': out of range" cloning with SourceTree on Windows
I suddenly started getting this error when cloning with SourceTree. I found that the .gitconfig file in my root folder had a setting for postBuffer. That was set to a different value though. Where ...
1
vote
1
answer
341
views
Sourcetree git flow finish feature to develop branch but develop branch is protected
I made a mistake.
In Sourcetree I created a new feature branch starting from develop and made some changes. Afterwards I wanted to finish the feature and delete the feature branch. Sadly I forgot that ...
0
votes
0
answers
19
views
Cannot set global permission in Crucible
I have Atlassian Crucible and couple of other DevOps tools installed in our air-gapped network. All other apps are setup correctly and functioning. However, I am having problems with configuring ...
-1
votes
1
answer
64
views
GitHub create new repository (new branch)
When I want to simply create the remote private repository on GitHub from my local existing repository by git commands.
git remote add origin https://github.com/"UserName"/"...
0
votes
0
answers
117
views
Importing existing files in repo to new LFS storage (using SourceTree and Git LFS)
TL;DR: What is the least intrusive way of migrating existing files to the LFS storage, once LFS has been initialized on the repository, and a suitable .gitattributes file has been prepared but not yet ...
0
votes
2
answers
221
views
Push changes immediately to origin/master disabled in Sourcetree
I'm using Sourcetree 3.4.8 and I've found that the "Push changes immediately to origin/master" checkbox at the bottom of the File Status tab in my Workspace is disabled.
I've never had a ...
0
votes
1
answer
31
views
How to replace master with dev branch in sourcetree
I'm using SourceTree.
I have Dev branch and master branch. Dev is many version ahead of Master so there will be a lot of conflicts if I merge.
Is there anyway I can replace all the content in master ...
-1
votes
1
answer
73
views
How can I clone over https in bitbucket? [duplicate]
There is a recent announcement from Atlassian,
Bitbucket Cloud recently stopped supporting account passwords for Git authentication.
How can I clone a repository over HTTPS in bitbucket?
0
votes
0
answers
39
views
Default description value does not get updated when project or issue type is changed in the create issue window
When I click on the "Create Issue" button in Jira, I have a new dialog that opens and I can choose my project and my issue type. In this case I choose the project "CSOINF" and the ...
0
votes
0
answers
39
views
Let SourceTree/Fork show changes instead of just displaying Old and New
I'm developing two iOS projects, when I edit storyboard file in first project, I can see the changes in git tool like SourceTree/Fork as showed in picture 1.tap to see picture 1 It's good.
However, ...
0
votes
1
answer
484
views
Sourcetree + Git clone stuck at "Updating files 100%"
Problem
I am getting stuck at "Updating files: 100%" when cloning a git repo on Windows when using Sourcetree.
Full output
git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff....
0
votes
1
answer
53
views
Clean your files with sourcetree
I have a file that has been changed from encoding by someone.
However if I check the file on my system it has still the old encoding.
Some files however got the new encoding.
It seems that sourcetree/...
19
votes
5
answers
11k
views
Bitbucket Cloud recently stopped supporting account passwords for Git authentication
I have pushed the code in the morning it was working fine but now I'm trying to push code but getting this error:
Bitbucket Cloud recently stopped supporting account passwords for Git authentication
2
votes
1
answer
2k
views
App passwords for git authentication(bitbucket and sourcetree)
When I tried to push,sourcetree shows below error.
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags ruling master:master
remote: Bitbucket Cloud recently ...
0
votes
0
answers
23
views
Feature Branch Git Reset --hard to Master After Rebasing to Master
I'm using Sourcetree as a git GUI instead of running command-line git commands, so I am not sure about the exact parameters being added.
I have featureBranch with one commit, I rebase that commit onto ...
1
vote
0
answers
249
views
Workspaces are "blank" when selecting remote repos in Sourcetree
When adding a remote repository in Sourcetree from a Bitbucket account the dropdown to select which workspace has a line for each workspace and you can select them but the lines are blank.
The same ...
0
votes
0
answers
70
views
How can I setup View Remote to a GitHub Enterprise location in Sourcetree?
SourceTree has a View Remote button that takes you to the GitHub repository for your opened project. This button is grayed out for GitHub Enterprise repos. I think that's a pretty neat function, but I ...
0
votes
1
answer
208
views
Azure devops server (on premise) integrate with SourceTree or Gitkraken
I've recently setup an azure devops server on a VM but I can't seem to connect to it using Gitkraken. GitKraken will give the error "Could not reach the specified host domain"
SourceTree ...
0
votes
0
answers
15
views
Alternatives to cloning repository
My team works with Bitbucket > Sourcetree. We are having problems cloning the repository, possibly due to size and network, but some others have the repositories from past. Can they zip and send it ...
1
vote
2
answers
200
views
How to setup automatic pull for a particular branch in source tree or by using git hooks when a new commit is pushed
I have cloned the required bitbucket repo in a local workstation. If there is any commit on the particular remote branch, I want it to pull automatically the latest changes. Do we have an option in ...
1
vote
0
answers
523
views
Cannot get whole repository Early EOF CURL 18
I have tried this a number of different ways to no avail. For work, I am trying to clone a fairly large repository. I couldn't clone the whole thing, so in Sourcetree, I changed the clone depth to &...
0
votes
0
answers
47
views
Why SourceTree keep asking for GitHub credentials?
I have updated SourceTree
This window pops up every time after I open SourceTree:
I removed in Application Support/SourceTree folder all files:
I have create a Personal Access Token in GitHub. I ...
0
votes
2
answers
866
views
Support for password authentication was removed on August 13, 2021. Please use a personal access token instead
Even though I create a PET in GitHub, and I set it in Sourcetree, it does get user, or updated.
Cloning a repo will result the same issue. Why? Should I remove the cache, or what?
0
votes
1
answer
368
views
Lefthook error: flutter command not found
I switched from GitHub Desktop to Sourcetree due to some missing feature.
On my flutter project, I installed LeftHook to execute a linter when someone commits something.
On GitHub Desktop, Lefthook ...
1
vote
0
answers
144
views
Git Error || Bug called"One or more of this task's arguments is invalid. They cannot start with '-' "
I have done my development on a branch then stashed it. Then applied it to an other branch and committed it. But When I try to push my commit the error below appears. Why is that happening? Cant find ...
1
vote
2
answers
421
views
How could it be possible that the bitbucket merge pull request action removes code which was committed/merged from another branch?
How could it be possible that the bitbucket merge pull request action removes code which was committed/merged from another branch?
We're working with a bitbucket repository, sourcetree, and also the ...