19 lines
350 B
Markdown
19 lines
350 B
Markdown
|
# 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.
|
||
|
|