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

Uset .tmgit instead of .dotfiles as git dir #15

Closed
elisboa opened this issue Dec 3, 2019 · 2 comments
Closed

Uset .tmgit instead of .dotfiles as git dir #15

elisboa opened this issue Dec 3, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@elisboa
Copy link
Owner

elisboa commented Dec 3, 2019

The .dotfiles dir was used as a test and ended up being used until today. So, it would be better to use .tmgit instead of a generic name like .dotfiles.

However, we should check if there is a recommend way to migrate all existing data: if by moving the directory or if by using git init.

@elisboa
Copy link
Owner Author

elisboa commented Dec 4, 2019

Changed .dotfiles to .tmgit as base dir for git dir.

If you're updating this code on a current project, you must:

  1. Before updating, disable tmgit.sh calls on crontab
  2. Update tmgit.sh and functions.sh files
  3. Go to your project directory (cd my_versioned_dir), then run:
    mv .dotfiles .tmgit
  4. Reenable your cron OR run it manually first, but exactly as you put on your cron:
    eval $(crontab -l | grep -E -v '^#|push-remote' | grep /MY_VERSIONED_DIR | awk '{print $6}')

@elisboa
Copy link
Owner Author

elisboa commented Dec 5, 2019

Code merged into dev branch. Will try to solve issue #14 before update do master and then generate a 0.6 release

@elisboa elisboa added enhancement New feature or request good first issue Good for newcomers labels Dec 6, 2019
@elisboa elisboa closed this as completed Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant