Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Staging files with long path names - longpath = true setting doesn't work

gkunkel1965
February 24, 2021

 

When trying to stage some files using long path names, SourceTree returns the error below.

 

fatal: pathspec 'ngs-liferay-workspace/modules/apps/ngs-navigation/ngs-journal-folder-navigation/ngs-journal-folder-navigation-service/src/main/java/com/ngs/navigation/journal/configuration/JournalFolderNavigationConfigurationSection.java' did not match any files
Completed with errors, see above.

 

The files never get staged.

He's tried setting longpaths = true in the repository  configuration file but continues to see the error.

Any thoughts on how to resolve this?

1 answer

0 votes
Mohammad Adeel (Sardar)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 14, 2025

You can try using a tool like LongPathTool. It helps manage and delete files or folders with long path issues easily.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.0.5
TAGS
AUG Leaders

Atlassian Community Events