TechGuides/git/index.md

19 lines
350 B
Markdown
Raw Permalink Normal View History

# Git Commands
I'm going to create a document first about setting up a respository
remotely, and then syncing with a local "repository".
## Git Remote Sync
Remote is setup
```
$ git init
$ git remote add <remote-name> <remote-url>
$ git pull <remote-name> <branch>
$ git push --set-upstream <remote-name> <branch>
```
That seems to handle it.