CodelyTV / dotly

🌚 Modular and easy to customize dotfiles framework
https://codely.com/cursos
MIT License
1.2k stars 116 forks source link

untracked content despues de actualizar dotly #199

Open OSITO326 opened 2 years ago

OSITO326 commented 2 years ago

Despues de actualizar dotly, al momento de hacer un git status

$ ~/.dotfiles on main ✔  git status
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
  (commit or discard the untracked or modified content in submodules)
    modified:   modules/dotly (new commits, untracked content)

no changes added to commit (use "git add" and/or "git commit -a")

entrando a la directorio en concreto me encuentro con este problema del fichero zimfw

$ ~/.dotfiles on main ✔  cd modules/dotly
$ ~/.d/m/dotly on main ✔  git status          
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    modules/zimfw/

nothing added to commit but untracked files present (use "git add" to track)

Alguna solución? gracias de antemano 😬

ghost commented 2 years ago

Hola a mi me pasó lo mismo y es porque la rama por defecto al realizar el paso de moverte a .dotfiles para enlazarlo con tu repositorio es master y debe ser main si creaste un nuevo repositorio en Github.

Recuerda definir la rama remota al pushear solo en el commit inicial: git push --set-upstream origin main

Espero haberte ayudado.