Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

untracked content despues de actualizar dotly #199

Open
OSITO326 opened this issue Jan 8, 2022 · 1 comment
Open

untracked content despues de actualizar dotly #199

OSITO326 opened this issue Jan 8, 2022 · 1 comment

Comments

@OSITO326
Copy link

OSITO326 commented Jan 8, 2022

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
Copy link

ghost commented Jan 17, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant