Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-2355

git log error when trying to list changes of an unnamed branch



    • Bug
    • Status: Needs Triage (View Workflow)
    • Medium
    • Resolution: Unresolved
    • 1.7.3
    • None
    • Git
    • None
    • Production

    • Severity 2 - Major


      1. on the command line, check out a branch, but don't name it

      git checkout origin/<sometopicbranch>


      Note: checking out 'origin/<sometopicbranch>'.
      You are in 'detached HEAD' state. You can look around, make experimental
      changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

      If you want to create a new branch to retain commits you create, you may
      do so (now or later) by using -b with the checkout command again. Example:
      git checkout -b new_branch_name
      HEAD is now at 605262c... formatting changes

      2. Launch sourcetree from command line. Make sure the view setting is set to "current branch" and not all branches.

      An error message will pop up "'git log' failed with code 128:'fatal: bad revision '(detached from origin/<sometopicbranch>)'"

      This issue is similar to https://jira.atlassian.com/browse/SRCTREE-1292


        1. adm-211 Exam Questions.pdf
          199 kB
        2. crt-450 Exam Questions.pdf
          203 kB
        3. dea-2tt3 Exam Questions.pdf
          216 kB
        4. dea-41t1 Exam Questions.pdf
          183 kB
        5. dee-1421 Exam Questions.pdf
          195 kB
        6. des-1d11 Exam Questions.pdf
          202 kB
        7. e05-001 Exam Questions.pdf
          187 kB
        8. field-service-lightning-consultant Exam Questions.pdf
          198 kB
        9. marketing-cloud-email-specialist Exam Questions.pdf
          207 kB
        10. pdii Exam Questions.pdf
          188 kB
        11. Screen Shot 2014-05-13 at 12.10.29 PM.png
          Screen Shot 2014-05-13 at 12.10.29 PM.png
          34 kB
        12. Screen Shot 2015-07-02 at 12.00.26.png
          Screen Shot 2015-07-02 at 12.00.26.png
          24 kB



            Unassigned Unassigned
            649048cc84a4 sudarshan bhat
            14 Vote for this issue
            10 Start watching this issue