Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

This is not the latest version of SourceTree available.

SourceTree

2.3.5.0

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 11/7/2017.

A free visual Git and Hg client for Mac and Windows.

SourceTree simplifies how you interact with your Git and Mercurial repositories so you can focus on coding. Visualize and manage your repositories through SourceTree's simple interface.

Features

  • Commit with Confidence: Visualize your work and push with confidence. Stage and discard changes by the file, hunk or line.
  • Visualize your progress: Detailed branching diagrams make it easy to keep up with your team's progress.
  • Git Large File Support: SourceTree supports Git LFS, allowing teams to track large assets in one single place.
  • Git-flow out of the box: Smart branching with SourceTree and Git-flow, keeping repositories clean and development efficient.
  • Submodules: Submodules make life easier when managing projects, their dependencies, and other project groupings.
  • Local commit search: Search for commits, file changes, and branches right within SourceTree.
  • Interactive rebase: Get clean and clear commits with SourceTree's interactive rebase tool.
  • Remote repository manager: SourceTree allows you to search for and clone remote repositories within its simple user interface.

Notes

  • This package installs the current version in General Availability.For details on SourceTrees release process see this blog post.

To install SourceTree, run the following command from the command line or from PowerShell:

C:\> choco install sourcetree --version 2.3.5.0

To upgrade SourceTree, run the following command from the command line or from PowerShell:

C:\> choco upgrade sourcetree --version 2.3.5.0

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $packageArgs = @{
      packageName = 'SourceTree'
      fileType = 'EXE'
      url = 'https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.3.5.0.exe'
    
      softwareName = 'SourceTree'
    
      checksum = '0e02ea2ab6dc4a4e5d4b12be50705bb840f01d978a46757b24ca5a818bb75bd8'
      checksumType = 'sha256'
    
      silentArgs = "/passive"
      validExitCodes = @(0, 3010, 1641)
    }
    
    Install-ChocolateyPackage @packageArgs
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $packageName         = 'sourcetree'
    $softwareNamePattern = 'SourceTree'
    
    [array] $key = Get-UninstallRegistryKey $softwareNamePattern
    if ($key.Count -eq 1) {
        $key | % {
            $packageArgs = @{
                packageName            = $packageName
                silentArgs             = "--uninstall"
                fileType               = 'EXE'
                validExitCodes         = @(0)
                file                   = $_.UninstallString.Replace('--uninstall', '')
            }
            Uninstall-ChocolateyPackage @packageArgs
        }
    }
    elseif ($key.Count -eq 0) {
        Write-Warning "$packageName has already been uninstalled by other means."
    }
    elseif ($key.Count -gt 1) {
        Write-Warning "$($key.Count) matches found!"
        Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
        Write-Warning "Please alert package maintainer the following keys were matched:"
        $key | % {Write-Warning "- $($_.DisplayName)"}
    }
    
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Atlassian

Tags

Release Notes

https://www.sourcetreeapp.com/update/WindowsReleaseNotes.html

Version History

Version Downloads Last updated Status
SourceTree 2.5.4 1745 Thursday, April 19, 2018 approved
SourceTree 2.4.8.0 7184 Saturday, February 17, 2018 approved
SourceTree 2.4.7.0 5081 Wednesday, January 10, 2018 approved
SourceTree 2.3.5.0 6752 Tuesday, November 7, 2017 approved
SourceTree 2.3.1.0 6300 Tuesday, September 19, 2017 approved
SourceTree 2.1.11.0 3880 Friday, August 25, 2017 approved
SourceTree 2.1.10.0 4323 Friday, August 11, 2017 approved
SourceTree 2.1.2.5 20044 Thursday, June 15, 2017 approved
SourceTree 2.0.20.1 13278 Tuesday, May 9, 2017 approved
Show More

Discussion for the SourceTree Package

Ground rules:

  • This discussion is only about SourceTree and the SourceTree package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or SourceTree, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok