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
426
votes
61 answers

Git - remote: Repository not found

I have SourceTree with local working copy. And all operations work good, I can simple fetch, push, pull and etc via SourceTree. I just needed to make force push which does not exist in SourceTree. I opened terminal made git push -f remote:…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
272
votes
4 answers

Sourcetree - undo unpushed commits

I am using Sourcetree for Windows for a git-repository and would like to undo an unpushed commit. Is that possible? If I do "revert commit", it creates a second commit which reverts the first commit, but I don't want the first commit to appear at…
deimos1988
  • 5,896
  • 7
  • 41
  • 57
262
votes
4 answers

Edit a commit message in SourceTree Windows (already pushed to remote)

How do I edit an incorrect commit message in SourceTree without touching the command line? Additional details: This is not the latest commit. Everything was already pushed to Bitbucket. This is a private repository and I am the only collaborator. I…
Community
  • 4,922
  • 7
  • 25
  • 37
237
votes
5 answers

Is there a way to get a visual diff on two branches in SourceTree?

Does Sourcetree offer a way to visualize differences between git branches? I'm looking for: names of files that have changed diffs between these files
Snowcrash
  • 80,579
  • 89
  • 266
  • 376
230
votes
2 answers

How to see remote tags?

In Atlassian SourceTree, how to know which tags are only local and which are also in remote? When creating a tag you get the option "Push tag to: ...", but how to know if a tag has been pushed or not after it is created? I can see all my tags…
cprcrack
  • 17,118
  • 7
  • 88
  • 91
192
votes
6 answers

"Updates were rejected because the tag already exists" when attempting to push in SourceTree

When attempting to Push via Source Tree, I get the following error: git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/master:refs/heads/master Pushing to…
Senseful
  • 86,719
  • 67
  • 308
  • 465
139
votes
36 answers

Authentication failed to bitbucket

I'm trying to push my project via the https protocol on bitbucket using sourcetree. But I can't connect to bitbucket with my login and password (which work on the website), I have a fatal error : "Authentication failed". I read on other posts I…
Julien Navarre
  • 7,653
  • 3
  • 42
  • 69
139
votes
3 answers

How to interactively (visually) resolve conflicts in SourceTree / git

I'm using (Windows) SourceTree for my git project. I can do it in either command prompt or Linux terminal. But, I'm wondering whether there is a nice way to interactively and visually resolve conflicts. For example, if pull detects conflicts,…
Nullptr
  • 3,103
  • 4
  • 27
  • 28
126
votes
22 answers

Sourcetree change password of existing account

I use Sourcetree to pull and push to a server over ssh. Sourcetree has remembered the password but the password has changed. I cannot find how to inform Sourcetree of the new password. Based on Google searches, I have tried the following…
Eelke
  • 20,897
  • 4
  • 50
  • 76
122
votes
23 answers

Sourcetree remote: Invalid username or password

Im trying to push to github with sourcetree but get the following error: git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin live_version:live_version remote: Invalid username or password. fatal: Authentication failed…
Sven van den Boogaart
  • 11,833
  • 21
  • 86
  • 169
121
votes
1 answer

How do I update my forked repo using SourceTree?

I am using SourceTree (with BitBucket) to manage my code. I have forked a repo, and the parent repo has been updated. How do I use SourceTree to merge the upstream code into my forked repo?
Aaron Brager
  • 65,323
  • 19
  • 161
  • 287
119
votes
2 answers

git rebase using sourcetree

I think I am confused on how to use SourceTree GUI to do git rebase. I have two branches "master" and "dev". As seen, the two branch diverged. I want to do a rebase on "dev" branch, using command line, this would be: git checkout dev git rebase…
python152
  • 1,811
  • 2
  • 15
  • 18
113
votes
6 answers

How can I change Sourcetree theme?

I use all my development tools in the dark theme except Sourcetree. It has no option in its configuration to change theme. Is there any other way to change for a dark theme?
Alexandre N.
  • 2,594
  • 2
  • 28
  • 32
105
votes
4 answers

How to disable git gpg signing

I'm using git gpg signing. I want to disable it. I've set .gitconfig [user] name = NAME email = EMAIL signingkey = KEY ... [commit] gpgsign = false My commits are still signing by default. PS: I also disabled from Sourcetree…
Thellimist
  • 3,757
  • 5
  • 31
  • 49
100
votes
9 answers

How to discard uncommitted changes in SourceTree?

I'm new to the Git environment, and I'm using BitBucket with SourceTree on Mac. All I want to do now is to discard the changes since last commit. How should I do this? I haven't found anything like "discard changes", and directly pulling from the…
goldfrapp04
  • 2,326
  • 7
  • 34
  • 46
1
2 3
99 100