Adding some Git instructions

This adds some git instructions.  I'm not *quite* sure it's correct.
This commit is contained in:
Jigme Datse Yli-Rasku 2024-10-04 21:26:19 -07:00
parent e4519dbd5f
commit 58483d1819
1 changed files with 18 additions and 0 deletions

18
git/index.md Normal file
View File

@ -0,0 +1,18 @@
# 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.