I'm trying to create a local branch that tracks a remote branch. Here's what I get:
> git checkout master
> git push origin origin:refs/heads/myBranch
Total 0 (delta 0), reused 0 (delta 0)
To [email protected]:myrepo/myproject.git
* [new branch] origin/HEAD -> myBranch
> git fetch origin
> git checkout --track -b myBranch origin/myBranch
warning: unable to unlink website: Operation not permitted
Branch myBranch set up to track remote branch myBranch from origin.
Switched to a new branch 'myBranch'
What does "warning: unable to unlink website: Operation not permitted" mean? Did everything work fine?
Later:
There is a folder called "website," but it has no contents. git submodule init
and git submodule update
both do nothing, and git submodule init website
and git submodule update website
both yield
error: pathspec 'website' did not match any file(s) known to git.
Did you forget to 'git add'?