Questions tagged [sourcetree]

SourceTree is a free Mercurial and Git Client for Windows and Mac that provides a graphical interface to connect with Git and HF services.

SourceTree is a product of Atlassian. It is a free Mercurial and Git Client for Windows and Mac.

It supports Butbucket, GitHub, Kiln and other Git and HF services as well.

226 questions
9
votes
2 answers

Sourcetree: Find out if a branch is merged

How can I know if a branch (or commit) is merged in SourceTree? When Using gitk --all, it will show for a commit (or branch) foo all other branches, where foo is already merged into. To clarify what I mean a screenshot: The encircled (red) area…
Jan Rüegg
  • 9,587
  • 8
  • 63
  • 105
8
votes
1 answer

How to properly squash commits using SourceTree?

We're using Git as our source control system, and I like to commit my code on a regular basis. This does mean that when I'm ready to push to the shared repo I've created quite a few nonsense commits that I'd like to squash away before pushing. Using…
Robba
  • 7,684
  • 12
  • 48
  • 76
8
votes
2 answers

Git not tracking a file from a folder - contents.json from .xcassets

I have checked almost all the questions on SO but nothing has worked for me. The issue that I'm unable commit the Contents.json file of .xcassets whatsoever. Whenever I add new images to .xcassets the source control does list the images but not the…
Adeel Miraj
  • 2,472
  • 3
  • 22
  • 32
6
votes
5 answers

fatal: open /dev/null or dup failed: No such file or directory

I am new here and i will try to explain my question kindly ignore any mistakes. I am using git version git-2.8.2 It worked fine for one day then this problem occurs. I am using gcloud repository. First I tried gcloud clone command then this error…
Yasir Ijaz
  • 674
  • 1
  • 12
  • 19
6
votes
1 answer

Local repository as submodule

Assume I have a repository named Shared Features on remote and local. I want to add this repo to another git repo as a submodule, but instead of using the remote one, I want to use the local one (for bandwidth reasons). So I want to use this local…
user5504706
6
votes
2 answers

Have SourceTree detect a rename even if the original file remains

I'm trying to convert some Javascript files to TypeScript files. I've renamed my move.js file to move.ts in my IDE (VSCode in this instance) and compiled with TSC to check if everything works. Now I want to commit my changes. I don't know how to…
Jeroen
  • 60,696
  • 40
  • 206
  • 339
5
votes
1 answer

Files disappeared from repository, but there is no deletion in commit history

I have a bit of a puzzle at my hands: several previously-committed files disappeared over night, but there is not a single commit that shows they were deleted. How could that happen? The situation is as follows: I have a private Git repository on…
Dragomok
  • 604
  • 3
  • 11
  • 29
5
votes
5 answers

How to add dll files to Git Repository

I'm using bitbucket to host my git repository. I've added a new folder called ExtLibs and added bunch of dlls. However they do not show up in SourceTree when I try to check in those files. How do I add a folder with (dll) files to repo? I'm using…
BobSwanson
  • 423
  • 2
  • 5
  • 18
5
votes
2 answers

How do i view what changes have been commited but pending push in SourceTree

I am not a developer and i have recently started getting my hands on Sourcetree and git. I see that i have 7 changes committed in the master and pending push. I no longer want to push these changes. But i want to view what these '7 changes' were?.…
Mams_84
  • 91
  • 1
  • 1
  • 5
5
votes
3 answers

How to revert changes to 1 file in previous commit

Using SourceTree preferably or a simple git command, how would I undo the changes to 1 file in previous commit. Saying it another way, how to reverse a commit, but only for 1 of many files that were committed? Looking to avoid having to reverse the…
Andrew
  • 18,680
  • 13
  • 103
  • 118
5
votes
1 answer

SourceTree: remote branch to pull list is empty

I'm trying to pull data from remote, but list of branches is empty: The issue observed only on Windows client, no problems on OSX. git pull is working well. Also, this issue happens with any repositories. Other actions, such as fetch, commit,…
pbelov
  • 445
  • 6
  • 20
5
votes
2 answers

Sourcetree repository bookmarks disappeared

Where did my repositories go? They were along the left side of Sourcetree, now it is blank and I don't know how to find them. See the screenshot:
Andrew
  • 18,680
  • 13
  • 103
  • 118
4
votes
3 answers

SourceTree not showing remote branches of a coworker

SourceTree not showing remote branches of a coworker. We have three people in a project. I am trying to merge a branch of my coworker, but the branch is showing on github.com, but not on…
Duan Liu
  • 57
  • 1
  • 7
4
votes
1 answer

Git/source tree move specific commits at branch B to branch A

I have an accident when develop. I have two commits which need at branch A but I pushed to branch B. So now, I want to move those commit to branch A and then remove them from branch B. Please view image for detail:
lee
  • 7,955
  • 8
  • 44
  • 60
4
votes
0 answers

Domino Designer and Source Tree (Overwrite issue)

We have been working with a combination of Notes 8.5.3 and Source Tree since more than a year and things were moving smoothly, however, recently, after an upgrade to 9.0, what we have observed is that, the designer project doesn't completely sync…
Chintan Parekh
  • 1,101
  • 1
  • 12
  • 31
1 2
3
15 16