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
0
votes
3 answers

Switch to a certain commit in missing branch in GIT

The code I have been writing for 5 days disappered after tapping wrong button. I have been working in HEAD. And made 3 commits in 5 days. In BitBucket desktop app I have twice tapped a different branch and now its gone. I can't find commits that…
ashvardanian
  • 424
  • 1
  • 6
  • 17
0
votes
2 answers

File conflicts issue when moving between branches

I have a SourceTree issue with moving between branches due to file conflicts. Basically I am working in a small team and we each have our own Web.config files which have distinct properties to our individual machines (like directory paths eg.…
Mark
  • 501
  • 2
  • 11
  • 28
0
votes
1 answer

Branch before first commit?

In the following Atlassian SourceTree screenshot of my Git repository, there is a straight violet line without initial point. It suddenly appears at "Merge branch tom". Ideally, I want the graph to look like the following instead: The Git…
0
votes
0 answers

Git multiply accounts issues

Multiple Github accounts make me crazy. So I have two my own github accounts. I found really useful tutorial to add multiply account on my Mac. So first off all I already have working copy on my Mac and seems now it work when I did all steps from…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
0
votes
1 answer

How to setup Sourcetree to deploy to Heroku and Bitbucket?

I have setup a repository that points to heroku. In the "Optional Extended Integration" I have chosen "Bitbucket Server" as the host type, Host URL is set to "https://bitbucket.org" and the username is set to my username. Now whenever I commit a…
Sonu Kapoor
  • 1,567
  • 3
  • 16
  • 34
0
votes
1 answer

Push to gerrit command error prohibited by Gerrit

I'd like to push my code to Gerrit. I added these lines in my ~/.gitconfig [remote "origin"] url = ssh://hxx@www.xxxx.com:29418/project/cloud fetch = +refs/heads/*:refs/remotes/origin/* push = refs/heads/*:refs/for/* When I push in my source tree,…
user3034559
  • 1,259
  • 2
  • 15
  • 31
0
votes
0 answers

Git how to prevent load some changes

Is there any tool that can help me prevent error with changing base urls. Sometimes I need to test production url instead of development url sometimes. I have two different paths for the same baseURL variable. But what I want is prevent to upload…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
0
votes
2 answers

How to make the current working copy, the first commit

I have a lot of large history that makes downloading my repository quite a long day for new developers. Is there a quick way to just forget all history of my git repository and make the current working copy, the first commit... therefore removing…
Jimmyt1988
  • 20,466
  • 41
  • 133
  • 233
0
votes
1 answer

SourceTree - Delete a pushed and merged commit

I've seen some topics about deleting commits and so on but nothing worked so I'm asking here. Me and my friend were working on our project, he pushed a commit and I pushed a commit but when we merged there were problems. Turns out we edited the same…
Lonri
  • 47
  • 1
  • 5
0
votes
0 answers

How to commit/push (to git) the modified project settings in Visual Studio?

I changed some Project Directories from my project in Visual Studio. How can I push the changes to git and make it applied to others who pulled my update or checked out my branch?
Z Mars
  • 159
  • 1
  • 14
0
votes
1 answer

Git status out of memory

I have a fairly large repository with large files in it. I was working on my local branch for a few days and decided to push today. Unfortunately, "git status" returns an out of memory error. I tried changing a few memory allocation sizes in the…
0
votes
1 answer

GIT: How to create git repository on WHM Centos server and connect with SourceTree

I need to setup a git server on my cPanel WHM VPS, generate a URL to connect to a repo (I've created a repo on /opt/git/repo.git and configure SourceTree or any other windows visual Git client. I followed this guide:…
Tomas Gonzalez
  • 1,124
  • 15
  • 33
0
votes
1 answer

Git Reverse a commit error

In SourceTree I try to reverse a commit but I get this error: error: The following untracked working tree files would be overwritten by merge: sites/default/files/php/twig/.htaccess …
meez
  • 3,783
  • 5
  • 37
  • 91
0
votes
0 answers

how to transfer git repository from windows to os x

i'm try to copy repo.rar from windows share drive and add it to sourcetree but sourcetree can't see .git folder and all file in folder is Not Tracked file.
0
votes
2 answers

How to push two git branches to seperate svn repositories? Especially using sourcetree

I have a local git repositories which initialized with git svn init http://abc.xxx/svn/trunk/topic_A And then I create a local branch topic_B, and want to put it under the svn URL http://abc.xxx/svn/branches/topic_B. The svn branch is created…
QZHua
  • 354
  • 2
  • 10