snippetbashTip
git setup — Create a Git repository in a directory and commit all files. Part of `git-extras`. More information:
Viewed 0 times
directorycreatecommandgit setupandclirepositorygit
Problem
How to use the
git setup command: Create a Git repository in a directory and commit all files. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-setup>.Solution
git setup — Create a Git repository in a directory and commit all files. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-setup>.Create a Git repository in the current directory and commit all files:
git setupCreate a Git repository in a specific directory and commit all files:
git setup {{path/to/directory}}Code Snippets
Create a Git repository in the current directory and commit all files
git setupCreate a Git repository in a specific directory and commit all files
git setup {{path/to/directory}}Context
tldr-pages: common/git setup
Revisions (0)
No revisions yet.