Computer Science Mojo

~ David's Notes on coding, software and computer science


How to turn existing folder into Git repo

Category: Git     Tag: Git  
By: David     On: Fri 22 July 2016     

Have a directory that you want to be linked to a Git repo ?


Replace with your repo url:

git init
git remote add origin
git pull origin master

git add .
git commit -m 'added files'
git push origin master