Answers for "git init github"

13

git push existing repo

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
30

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
8

upload new repo to git

echo "# Can-I-Shop-2" >> README.md
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/username/projectname.git
git push -u origin master
Posted by: Guest on August-06-2020
8

git init

cd /path/to/my/codebase
git init   
git add .    
git commit -m "my comment"
Posted by: Guest on March-22-2020
0

github git init main

$ git remote add origin  <REMOTE_URL> 
# Sets the new remote
$ git remote -v
# Verifies the new remote URL
Posted by: Guest on March-30-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language