NixOS dotifiles managed by yadm.
As Github renamed its master branch to main, exists the possibility that yadm will complain when pushing.
Solution
The solution will most likely be to move the master
branch to main
:
$ git branch -m master main
The previous command renames the branch called main
to main
thanks to the -m
flag.
$ man git-branch
Now it should work 🥳:
$ push -u origin main