Answers for "initialize git repository windows terminal"

31

how to initialize a git repository command line

# New local repository
git init
git add .
git commit -m "Initial commit"

# New remote repository
git remote add origin [email protected]:username/new_repo #ssh
# Now push
git push -u origin master
Posted by: Guest on March-25-2020
0

initialize git on windows

-- initialize git repository to main on Windows 10 using terminal
 -- open the terminal, change to the Directory/folder you want to initiliaze (e.g cd myProject)
 git init --b main
Posted by: Guest on March-30-2021

Code answers related to "initialize git repository windows terminal"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language