youngmon/atlassian-qna huggingface dataset:
Help: git log failed with code 128 error: Failed to traverse parents of commit ?
Asked by GEORGE L:

Still new to Sourcetree and seems I have messed up my github.com local repo for <https://github.com/centminmod/centminmod> with the error below

it seems to have messed up a majority of my local brances and checking them out results in error with blank uncommited status and spinning icon in app ?

Not sure how to fix it ? Or better to just start a fresh local repo and pull from github.com ?

sourcetree_gitlog_error_00.png

sourcetree_gitlog_error_01.png

[](https://community.atlassian.com/t5/Sourcetree-questions/Help-git-log-failed-with-code-128-error-Failed-to-traverse/qaq-p/378277?attachment-id=7697){#link_1174ae90c7e276}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11246/1/sourcetree_gitlog_error_00.png){#display_1174ae90c7e276_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Help-git-log-failed-with-code-128-error-Failed-to-traverse/qaq-p/378277?attachment-id=7698){#link_1174ae90c7e276_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11246/2/sourcetree_gitlog_error_01.png){#display_1174ae90c7e276_2}


Answers:
author: Bal?zs Szakm?ry
body: If you have no local-only changes and the time for re-cloning the repo is acceptable, the easiest would be to clone it again and delete the current clone. If you really want to fix your existing clone, try [this](http://stackoverflow.com/questions/6713126/git-repository-failed-to-traverse-parent-error) or [this](http://stackoverflow.com/questions/18678853/how-to-fix-corrupted-git-repository).
.json files not listed as untracked in SourceTree when the file is created
Asked by Todd Santoro:

I am using GRUNT to build my development version and it creates a file called manifest.json. When I go to commit my development changes to my master branch and then finally deploy from my GIT account on BeanStalk that file never comes up initially as untracked so I can't even add it. Any thoughts or help on why this is happening. I even changed it to .php and it came up as untracked. I then changed it back and its nowhere to be found. I looked for a setting that would allow me to track this kind of file and also I don't have a gitignore on that file or any other as far as I know unless GRUNT automatically ignores it for me but it is required in my production site.


Answers:
author: Seth
body: Check your .gitignore file.

comments: author: Todd Santoro
body: Just found it. It was in the gitignore file. GRUNT added it automatically. Sorry to wase your time.
SourceTree: Shellshock and embedded Git
Asked by David Buser:

Hi there, I'm running SourceTree v1.6.8.0 on Windows. I am using embedded Git v1.8.3 which appears to be dated 20130601. The security folks at work are concerned that the version of bash included in this software might be vulnerable to shellshock ... anyone know how I should respond to them? THanks!


Answers:
author: Seth
body: Disclaimer: I'm not a security expert.

I would assume the bash version does have the vulnerability, until @Steve Streeting or someone at Atlassian can say differently.

However, unless you provide remote access to this bash installation, I'm not sure how it would be taken advantage of. If a malicious third party gains enough access to your computer to execute commands with SourceTree's bash, you're already screwed.

comments: author: David Buser
body: @Steve Streeting any thoughts on this?


author: Bal?zs Szakm?ry
body: Our IT department had similar concerns about the PuTTY version that comes with SourceTree.
Will Sourcetree add file overlay icons to Windows 7 or do I have to install Tortoise GIT?
Asked by John_Featherlin:

I've switched from Tortoise GIT to Source Tree on a new Windows 7 PC. I like it much better so far but I miss the file icon overlays in Windows explorer (i.e. green checkbox for files that are committed). Was that feature added by Tortoise GIT? How can I add icon overlays with Sourcetree?

icon overlays.gif

Thanks for your help!  
[](https://community.atlassian.com/t5/Sourcetree-questions/Will-Sourcetree-add-file-overlay-icons-to-Windows-7-or-do-I-have/qaq-p/318996?attachment-id=79){#link_116af2c80172cc}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9673/1/icon%20overlays.gif){#display_116af2c80172cc_0}


Answers:
author: Seth
body: SourceTree does not integrate with Windows Explorer at all. If you want the overlays, you'll need to have TortoiseGit installed. There should be no conflict running both in parallel.

comments: author: Bal?zs Szakm?ry
body: I have both (and GitExtensions and Visual Studio), they do not interfere.


author: Johannes Kilian
body: See here discussion on installing both: <https://answers.atlassian.com/questions/319780>


author: John_Featherlin
body: Follow-up .... I chose to abstain from installing Tortoise Git for the past month to force myself to just get used to using SourceTree to view changed files instead of relying on icon overlays in explorer to see what has changed. I must have adjusted pretty well because I forgot all about icon overlays until now. :smile:
Migrating SourceTree Windows install
Asked by GEORGE L:

I currently have SourceTree installed on my Windows 7 PC. But have questions for the properly process to migrate SourceTree and all the repository data from one PC to another as well tips for managing multiple PC usage ?

So questions are

1. What's the official way of moving a SourceTree Windows 7 installation + all repository data to a new Windows 7 or 8/8.1 computer ?
2. Any steps or tips for how to have SourceTree and all repository data available across multiple Windows 7 or 8/8.1 computers ? For example, if I want o use SourceTree and repositories on my Desktop Windows 7 and my Laptop Windows 8 simultaneously ?

cheers

George


Answers:
author: rahuldanwade
body: As far as backing up, the best way to do that is to push your changes to a server.

Like on Stash or BitBucket and later you can checkout the code on your machine.

comments: author: Priyanka Ramamurthy Bharadwaj
body: Hi

What is the latest version of sourcetree is available for Windows? Please reply at your earliest.
Where did stage lines go?
Asked by Oliver Smith:

I updated to v1.6.8.0 under Windows 7, now I no-longer see "stage lines" or "stage hunk" options. Selecting a line and right clicking does nothing.

missing-stage-buttons.png

[](https://community.atlassian.com/t5/Sourcetree-questions/Where-did-stage-lines-go/qaq-p/13917?attachment-id=10158){#link_116af2f23466eb}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/397/1/missing-stage-buttons.png){#display_116af2f23466eb_0}


Answers:
author: roydukkey
body: I'm seeing this since updating to 1.8.2.2.
"use staging area" option in sourcetree?
Asked by William Jockusch:

Sourcetree used to have a checkbox called "use staging area." I loved this because I don't want to think about staging. If I do a commit, I want to commit everything, always. So I just unchecked the box.

I can't find this checkbox anymore. Is it gone? I know I can get a similar effect by checking the "unstaged files" box everytime I commit. But forgetting becomes an issue. So is there a way to have sourcetree always automatically stage everything?


Answers:
author: Suvichak
body: Hi i Finally found it

here

Screen Shot 2014-12-24 at 1.36.59 AM.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/quot-use-staging-area-quot-option-in-sourcetree/qaq-p/23682?attachment-id=579){#link_116af30a6fb6e1}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/700/1/Screen%20Shot%202014-12-24%20at%201.36.59%20AM.png){#display_116af30a6fb6e1_0}


author: Suvichak
body: I have this problems too


Tags: git
Hg Flow close branch which name starts with diez (#)
Asked by MIchael Ustinov:

Name of branch has a diez at start, so it's looks like #12345

So, openning new feature/#12345 is ok and all works fine

But not closing

<http://gyazo.com/766dbb8615bdbc54a81a67f64b87684e>

Windows 8 64bit, SourceTree 1.6.8.0


Answers:
author: Foong
body: Hi,

Please refer to this bug report <https://jira.atlassian.com/browse/SRCTREEWIN-1426>
How to browse code to see current state of repo for a commit?
Asked by johnbarnaby:

Is there a way to 'Browse code' within Sourcetree like what you can do on GitHub to see the current state of the repo for a particular commit?


Answers:
author: Bal?zs Szakm?ry
body: If you right-click on a file in the bottom part (where it shows what changed in a commit), there is an "Open selected version" option.

Also, if the code is hosted on Stash (or GitHub :smile:), you can browse the code very nicely on the web interface.

comments: author: Seth
body: Or Bitbucket.


author: johnbarnaby
body: Thanks for your comments where I was hoping that I could browse the current state of the repo within Sourcetree like what is possible on GitHub which is much easier than browsing each file individually. If this is not possible on Sourcetree it would be great if this feature was available on the Bitbucket web interface like it is on the GitHub web interface where it is so easy to view the entire repo for a particular commit through 'Browse code.'


author: Bal?zs Szakm?ry
body: As Seth remarked above, it is possible on Bitbucket. Go to the Source/Browse tab.
How to clear a git-svn repository password on MAC?
Asked by YvesF:

The remote SVN repository URL and its password changed.

I changed the configuration file accordingly.

Trying to access the SVN repository using SourceTree ends up with the message:

```
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree svn rebase Authentication realm: &lt;https://svn.my_repository.com:1443&gt; My_Repository_NamePassword for 'my_user_name': Authentication realm: &lt;https://svn.my_repository.com:1443&gt; My_Repository_NameUsername: error: git-svn died of signal 11Completed with errors, see above
```

The configuration file is

```
[core]repositoryformatversion = 0filemode = truebare = falselogallrefupdates = trueignorecase = trueprecomposeunicode = false[svn-remote "svn"]url = https://svn.my_repository.com/repos/repo_name/trunkfetch = :refs/remotes/git-svn
```

I have SourceTree V2.0.2 on OSX 10.9.5

How can I force that SourceTree asks again for username and password?

Or is the problem something else?

Thanks so much for any hint.

Yves


Answers:
author: Seth
body: Future reference, "Mac" is not an acronym, it is short for "Macintosh". Thus, should be "Mac", not "MAC". It is named after a type of apple (the fruit): <http://en.wikipedia.org/wiki/McIntosh_(apple)>


Tags: git-svn

svn
I need an export of all changes/commits/change-log for a repo (and its branches).
Asked by hrusha:

... preferably in an easy to follow format.


Answers:
author: hrusha
body: Seth, you are correct about what a \[cloned\] Git repo is. Let me see if I can rephrase my question...Is there an automated way to get a line by line per commit export of changes in a repository into something like a text file that needs to be read by a non-professional. Example:Commit: 70abcde. By: EM. Date. XX/XX/XXXX. File/templates/example.xml+++ ............--- ............Commit: 90aabbcc. By: AB. Date. XX/XX/XXXX. File/settings/local.sh+++ ............--- ............I realize again that it seems that all I'm asking is what is Git, but I really am not. For example, in a dispute or for managerial CYA I need this info in a format that is 'readable' without just telling someone to go to the repo and look at it themselves.Thanks!


author: Seth
body: It looks like this git-log command should do what you want.

git log -p --all

This will be an overwhelming amount of data if you've got a repository of decent size, so check out the [git log documentation](http://git-scm.com/docs/git-log) for other filtering and formatting options. You do need "-p" to get the diff included in the output.


author: Seth
body: You do realize that you've basically described exactly what a cloned Git repository is: an export of all changes/commits/change-log of all branches in an entire repo.Since you are asking the question, I have to assume that you consider the Git repository format to NOT be "easy to follow", so maybe you should clarify what you want. Pretty much any other format is going to be overly complex, or will be missing large portions of the data you want.
export stash to another computer
Asked by Ed Pataky:

I use Sourcetree and love it ... i have some stashes setup and recently got a new computer .. i need to transfer those stashes to the new computer .. how do i do it?


Answers:
author: Seth
body: I believe stashes are stored in your local repo. Try to copy/paste your repository from one computer to the other (or zip it) instead of re-cloning on the new computer.

I've never tried this before, so it may not work.

comments: author: Ed Pataky
body: ok thank you i will try


author: Bal?zs Szakm?ry
body: Copying/moving the clone will work.
[SourceTree] How to show sidebar ?
Asked by Bo LI:

Hello everyone,

I use SourceTree 1.6.5 on Windows 7.

I don't know what I did, but the sidebar isn't displayed any more for one of my repositories, like this:

SourceTree sidebar2.png

but it is displayed for the other repositories.

SourceTree sidebar.png

I'd like to know how can I display the sidebar again for the repository ?

Thank you very much !

[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-How-to-show-sidebar/qaq-p/144276?attachment-id=5786){#link_116af37ec7e5a0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/4231/1/SourceTree%20sidebar2.png){#display_116af37ec7e5a0_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-How-to-show-sidebar/qaq-p/144276?attachment-id=5787){#link_116af37ec7e5a0_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/4231/2/SourceTree%20sidebar.png){#display_116af37ec7e5a0_2}


Answers:
author: Bo LI
body: Well, I found it ! I just dragged the border of the sidebar so much that the sidebar completely disappeared. Now I drag the border on right, it appears again !

comments: author: TrinhCayTao
body: exactly


author: Joscha Kaiser
body: I have the same problem, your solution sadly doesn't work for me though. Any ideas why?
Stuck when pushing to repository.
Asked by Kelvin Latif:

I stuck on this process:

Screen Shot 2014-10-22 at 10.23.26 AM.png

Perhaps this because I deleted my login credentials on my Keychain Access. What should I do? I tried to reinstall SourceTree but it didn't work. Thank you.  
[](https://community.atlassian.com/t5/Sourcetree-questions/Stuck-when-pushing-to-repository/qaq-p/391073?attachment-id=765){#link_116af3a3a11974}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11684/1/Screen%20Shot%202014-10-22%20at%2010.23.26%20AM.png){#display_116af3a3a11974_0}


Answers:
author: rahuldanwade
body: use git remote -v to check remote URL is correct or not

origin <http://admin@49.248.31.219:7990/scm/jra6_3_1/jira631.git> (fetch)  
origin <http://admin@49.248.31.219:7990/scm/jra6_3_1/jira631.git> (push)
Help with simple Custom Actions
Asked by Grant Curtis:

OS: Windows 8.1

SourceTree v1.6.5.0

How do I do a simple custom action through Sourcetree?

I have it pointing to a `.bat` file, which reads

```
git push
```

And this just hangs when I trigger it through Sourcetree

If I go to a command prompt, navigate to the directory, then do "git push", it works as expected.

What am I doing wrong?


Answers:
author: Seth
body: What happens if you run the .bat file in the command prompt?
Install SouceTree for Windows without admin rights
Asked by Remus Prunescu:

Is there a way to install SourceTree for Windows without admin rights? I tried choosing a folder the user has write access to as the installation target, but the installer still requested admin rights.


Answers:
author: AugustaJava1
body: I do have the same issue. At my company developers do not have admin rights. And since the latest Windows 10 update we can't even modify account level information. If software requires admin rights to user or install we typically aren't allowed to use it. Before this I hadn't realized you can't even write to Program Files without admin authority. I tried installing SourceTree to a different directory but as soon as it tries to request admin access it craps out. I know Microsoft built this process but we just don't always have access to these areas of our machine. So we end up with both Microsoft and our own company standing in our way. There should always be a "non admin" method of installation and use of software on a windows machine.


author: mavit
body: See <https://jira.atlassian.com/browse/SRCTREEWIN-599>


author: Seth
body: @Lenon Marumbwa Sounds like a different issue to me. You should post a new question.


author: Lenon Marumbwa
body: Hi. I am having a related issue. I have tried all mentioned above but no luck. Each time I pull from sourcetree It prints the following and the number doesn't change of items to pull that is: 0 \[main\] sh 11300 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 255 \[main\] sh 11300 open_stackdumpfile: Dumping stack trace to sh.exe.stackdumpgit -c diff.mnemonicprefix=false -c core.quotepath=false submodule update --init --recursiveCompleted successfully.Any idea on how to fix this one. Have tried all. The on thing that seems to work is pull with a rebase but then again it's a tedious process


author: Remus Prunescu
body: Ok. Thanks a lot! I will file a feature request soon.


author: Seth
body: Ok, thanks for the additional info. I've edited your question to include that. If you don't get a useful answer in a few days, you may need to submit a feature request at <http://jira.atlassian.com>


author: Remus Prunescu
body: Yes, I chose another destination folder where I have write access but it still asks for admin rights. And I don't have an admin account :(


author: Seth
body: I believe you can choose the installation folder during the install process. Did you try to do that? What happened?


Tags: windows
GitFlow finish feature doesn't rebase, create a "merge commit" instead
Asked by Mathieu BAUMGARTNER:

I'm not sure but something might not be working correctly in sourcetree (windows app in my case).

We always use the built in GitFlow UI feature, which is great. But here is the issue.

1. Click GitFlow \> "Start feature" and mention the name of the feature. In the following case "#2959" ( which is an issue number)
2. Work and make a few commits in the newly created "feature/#2959" branch
3. Click GitFlow \> "Finish feature" and check the "rebase" option.

Here is the result:

Capture d'e?cran 2014-10-20 a? 16.59.10.png

**59cb57a** is the source revision

**a357127** and **715136d** are both commits made to the feature branch before finishing.

**06fdab5**is the resulting "merge commit" which, if i'm not mistaken, shouldn't be here if i checked the rebase option.

My 2 dev commits should just be on top of **59cb57a** and **715136d**should now be the head of develop. Am I right?  
[](https://community.atlassian.com/t5/Sourcetree-questions/GitFlow-finish-feature-doesn-t-rebase-create-a-quot-merge-commit/qaq-p/308867?attachment-id=6246){#link_116af3e28634b1}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9452/1/Capture%20d%E2%80%99e%CC%81cran%202014-10-20%20a%CC%80%2016.59.10.png){#display_116af3e28634b1_0}


Answers:
author: Mathieu BAUMGARTNER
body: Alright I found the answer (not the fix) : :

Apparently this is a "normal" behaviour of gitflow explained here : <https://github.com/nvie/gitflow/issues/100#issuecomment-769968>

Sourcetree correctly call gitflow using the -r command. This basically means :

"Try to rebase (merge with fast-forward) this (feature) branch on top of develop. Only if possible and **if there is only one commit on it.**"

This means that in my specific use case shown above it fails because there are 2 commits on my feature branch. If they were 1 then the rebase works. I'm not really a fan of this as I believe gitflow should FF even when more than 1 commits or at least expose this choice to the user (sourcetree could then expose this up to the GUI).

Hope it helps anyone coming here.


author: Mathieu BAUMGARTNER
body: Apparently these questions are on the same topic - <https://answers.atlassian.com/questions/78589/git-rebase-instead-of-merge-option-in-the-merge-dialog-does-not-seem-to-work-correctly>- <https://answers.atlassian.com/questions/211371/rebase-git-flow-with-fast-forward>
Sourcetree always thinks .nuspec files have changed between branches
Asked by dbruning:

Hi,

We have a set of files in our project that always cause trouble when switching between branches.

I have just switched from our "develop" branch to the "master" branch, but when I try to pull down the changes in "master" branch, I get:

error: Your local changes to the following files would be overwritten by merge:  
packages/SgmlReader.1.8.8/SgmlReader.1.8.8.nuspec  
packages/SlowCheetah.2.5.5/SlowCheetah.2.5.5.nuspec  
packages/Topshelf.3.1.0/Topshelf.3.1.0.nuspec  
packages/Topshelf.NLog.3.1.0/Topshelf.NLog.3.1.0.nuspec  
packages/WebActivator.1.5.3/WebActivator.1.5.3.nuspec  
Please, commit your changes or stash them before you can merge.  
Aborting

When I try to diff any of those files, there is actually no difference. I have checked with a hex editor and they are binary equal.

I try to create a stash, but the files still appear in my Pending Files list. I have to commit the "change" before I can pull down the actual changes for the branch.

Any suggestions?

Thanks


Answers:
author: Seth
body: Have you tried discarding the "change" instead of stashing it? If they're binary-equal, it shouldn't matter.

I'm guessing there is just some file metadata being changed, most likely the last-modified timestamp.
Confluence x Teams integration issue
Asked by Iain Thomson:

Our company uses Teams and Confluence extensively. We wanted to integrate the two so we could have tabs inside our teams channels pointing at our Confluence pages.  

I set this up and allowed it, but when adding a tab it just doesn't render anything at all. I've tried removing it, adding it, tried adding other pages, tried doing it from the Web browser, nothing seems to be working.  

I've read the other questions on this, but haven't found anything that's actually fixed it for me.  

Help!


Answers:
author: Move Work Forward
body: Hi [@Iain Thomson](/t5/user/viewprofilepage/user-id/5276558)

I assume you are talking about official Atlassian Confluence Cloud integration.

Most probably your browser does not allow cookies for this tab, as a result, the login does not work.

If it does not work in Teams, it does not matter if it works in another browser, as you cannot bring the Cookies.

Cheers,  
Leo

comments: author: Iain Thomson
body: Yes I am talking about the Cloud Integration. My browsers do allow cookies, unless you're talking about a specific inbuilt browser in Teams, if that's the case, where would I adminster that? I would have thought the extension itself would manage this?


Tags: cloud

confluence-cloud