Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 384
    • Issues 384
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #512
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Git sync lose local commits (remote update, fetch and rebase)

By p.pien... on July 14, 2010 06:34 (imported from Google Code)


What steps will reproduce the problem?

  1. On remote repository I have commits: A-B-C
  2. On local repository is commits: A-B-D
  3. In "GitSync" i used "RemoteUpdate", and "Fetch&Rebase"
  4. After that on local repository my Commit D is gone. A-B-C

What is the expected output? What do you see instead?
local repository shoul be like that
A-B-C-D

What version of the product are you using? On what operating system?
Win7 32bit
TortoiseGit 1.5.2.0
git version 1.7.1.msysgit.0

Please provide any additional information below.
- It happends sometimes(sometimes local commits disappear).
- When i use "ShowRefLog" there I can see me Commit D.
- To get back my commit I must do "reset master to this" on my commit in reflog
- After that i see my commit in showlog
A-B-C
\D
- I must then use fetch and rebase again to get back this commit to main branch A-B-C-D

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking