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 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • 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
  • #1200
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Ignored folders can be destroyed by "git stash -u"

By kevin.g... on May 29, 2012 03:07 (imported from Google Code)


Hi, I have a couple folders inside my repository ignored by .gitignore because I'm not ready to commit them yet. Earlier today I did a stash save, revert, branch change and a pull and now both of the folders are gone - it appears that switching branches caused TortoiseGit to delete the folders entirely even though they aren't tracked as part of the repository. Is there something about one of those four operations (stash save, revert branch change, pull) that would have normally included deleting untracked files?

This is extremely troubling since it's caused me to lose a couple hours of work I was getting ready to commit.

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