README: warning about obsoleted master branch

Signed-off-by: Kir Kolyshkin <>
1 file changed
tree: 70fbfa8b127abd1466bf460148c282986e003942
  1. .github/
  2. .editorconfig
  3. .gitattributes
  4. .gitignore
  5. .mailmap
  9. fen.go
  10. fsnotify.go
  11. fsnotify_test.go
  12. go.mod
  13. go.sum
  14. inotify.go
  15. inotify_poller.go
  16. inotify_poller_test.go
  17. inotify_test.go
  18. integration_darwin_test.go
  19. integration_test.go
  20. kqueue.go
  22. open_mode_bsd.go
  23. open_mode_darwin.go
  25. windows.go


If you are reading this, you use master branch of this repository, which is wrong.

This branch

  • should not be used;
  • is not maintained;
  • is not supported;
  • will be removed soon.

You should switch to using the default branch instead.

Using git

Here's how to switch your existing local copy of this repository from master to main (assuming the remote name is origin):

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

In addition to the above, if you want to remove the leftover origin/master remote branch (NOTE this also removes all other remote branches that no longer exist in origin):

git remote prune origin


The master branch was renamed to main, causing an issue with Yocto/OpenEmbedded's meta-virtualization layer, which explicitly refers to master branch of this repository (see #426).

This temporary branch is created to alleviate the Yocto/OE issue.