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 382
    • Issues 382
    • 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
  • #1254
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Adding file extensions to root .gitignore

By 0fallenphoen... on July 05, 2012 07:27 (imported from Google Code)


What steps will reproduce the problem?

  1. Chose a file.
  2. From TortoiseGit menu select 'Add to ignore list' -> '*.ext'.
  3. Keep '.gitignore in the repository root' option.

What is the expected output? What do you see instead?
Ignored extensions don't want to be added. When I chose containing folder, i see new line with only '/' character; when recursive, an empty line.

What version of the product are you using? On what operating system?
Windows XP SP3
TortoiseGit 1.7.11.0
git 1.7.11.msysgit.1

Please provide any additional information below.
It's only issue with repository root file. When using local .gitignore (i.e. inside files's folder), it works fine. Also fine with single file ignoring (not by extension).

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