Answers for "add to repo folder"

0

add local folder to git repo

git init
git add .
git commit -m "First commit"
git remote add origin <remote repository URL>
git remote -v
git push origin master
Posted by: Guest on October-28-2021
6

github add directory to repository

git init
git add <folder1> <folder2> <etc.>
git commit -m "Your message about the commit"
git remote add origin https://github.com/yourUsername/yourRepository.git
git push -u origin master
git push origin master
Posted by: Guest on May-15-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language