Showing posts with label add files torepository. Show all posts
Showing posts with label add files torepository. Show all posts

Friday, January 13, 2017

Add Remote Origin to local Git Repository


Steps to add local files to  new git repository


Step 1: Switch to your repository's directory

cd /path/to/your/repo

Step 2: Connect your existing repository to github

git init
git remote add origin https://kotturs@github.org/tech/tech.git
git pull origin master
git add
git commit -m "message"
git push origin master