1

I have setup a new repository and made an initial commit. It is a Maven web-app/Java project.

Unfortunately the repo shows a long path for the m2e-wtp. It's the path of the m2e directory on my local Ubuntu machine. How can I remove this long path?

enter image description here

Marcel
  • 1,537
  • 5
  • 19
  • 38

1 Answers1

1

Make sur you have a .gitignore file at the root of your project or git repo, which should contain target/ on one line.

See Git Ignores and Maven targets for more information

Community
  • 1
  • 1
Fred Bricon
  • 5,369
  • 1
  • 31
  • 45