5

When I try doing this I get following error:

fatal: '../web' is outside repository
Mohsen
  • 61,836
  • 32
  • 154
  • 180

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,129,465
  • 480
  • 4,036
  • 4,755