You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ via -i python -l mit
$ ls -a. .. .gitignore LICENSE
$ rm .gitignore LICENSE
$ gitinit -l pythonInitialized empty Git repository in /home/jayvdb/projects/foo/.git/Creating .gitignore ...
$ ls -a. .. .git .gitignore
Of course there are many other projects like cookiecutter which work like yehua's current 'new project directory' mode. Note that cookiecutter -o . doesnt create the files in the local directory - it creates a subdir in the local directory.
But why not allow both... ;-)
One 'easy' way to add this mode would be to allow yehua . to indicate use the current directory, or add more args (--current-dir or --in-place?) to override the current 'new project directory' mode.
The text was updated successfully, but these errors were encountered:
My new project creation workflow is usually
I then want to create all the project junk, after I know what I am building.
As noted above,
git init
works on the current directory.Tools like https://pypi.org/project/via/ and https://pypi.org/project/gitinit/ do the same.
Of course there are many other projects like cookiecutter which work like yehua's current 'new project directory' mode. Note that
cookiecutter -o .
doesnt create the files in the local directory - it creates a subdir in the local directory.But why not allow both... ;-)
One 'easy' way to add this mode would be to allow
yehua .
to indicate use the current directory, or add more args (--current-dir
or--in-place
?) to override the current 'new project directory' mode.The text was updated successfully, but these errors were encountered: