Answers for "how to init a git reposiory"

43

git init repo

git init
git add somefile
git commit -m "initial commit"
git remote add origin https://github.com/username/new_repo
git push -u origin master
Posted by: Guest on May-17-2020
0

git init

The git init command creates a new Git repository.
This will include the application in that particular folder and
create a hidden .git directory where the repository history and settings will be stored
Posted by: Guest on March-13-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language