Answers for "add files to git repository"

13

git add new files to existing repository

cd existing_folder
git init
git remote add origin https://gitlab.com/abc.git
git add .
git commit -m "Initial commit"
git push -u origin master
Posted by: Guest on August-26-2020
0

how to push a file to github

git remote add origin 'your_url_name'

git push -u origin master
Posted by: Guest on December-31-2020

Code answers related to "add files to git repository"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language