Answers for "i put a repo in my repo"

5

add github repo

create a new repository on the command line
echo "# {Repo Name}" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/cdcdianne/ReactJS-TheMovieDB.git
git push -u origin main
                
push an existing repository from the command line
git remote add origin https://github.com/cdcdianne/ReactJS-TheMovieDB.git
git branch -M main
git push -u origin main
Posted by: Guest on November-13-2020
0

To add repo from github in linux

#To add any repo from github to your linux type
git clone <repo url>
# for example.
git clone https://github.com/Screetsec/TheFatRat.git
#The example above installs fatrat, a tool for hacking.
Posted by: Guest on April-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language