Skip to content

Instantly share code, notes, and snippets.

@mkoller
Created June 8, 2016 17:18
Show Gist options
  • Save mkoller/adea05c666b1584c8fe07348e852cbe7 to your computer and use it in GitHub Desktop.
Save mkoller/adea05c666b1584c8fe07348e852cbe7 to your computer and use it in GitHub Desktop.
$ git init
$ git remote add origin https://yourGitURL.com/user/repo.git
# Set a new remote
$ git remote -v
# Verify new remote
origin https://yourGitURLcom/user/repo.git (fetch)
origin https://yourGitURL.com/user/repo.git (push)
# now add the files
$ git add .
$ git commit -a -m "your message"
$ git pull origin master
$ git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment