5

When I try doing this I get following error:

fatal: '../web' is outside repository
Mohsen
  • 64,437
  • 34
  • 159
  • 186

1 Answers1

3

You can, if that sibling directory is a git repo.

But it is best, as in this example, to use the full path of that web folder.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250