22 lines
771 B
Markdown
22 lines
771 B
Markdown
Pushing this directory to your git host
|
|
|
|
To create a new remote repo and push this local setup, run these commands from the host that owns `/home/alex/awx-operator/awx-local-setup`:
|
|
|
|
```bash
|
|
cd /home/alex/awx-operator/awx-local-setup
|
|
# initialize a local repo
|
|
git init
|
|
git add .
|
|
git commit -m "Add AWX local setup scripts and README"
|
|
|
|
# create a remote repository on your git host (GitHub/GitLab). Example with GitHub CLI:
|
|
# gh repo create my-org/awx-local-setup --private --source=. --remote=origin
|
|
|
|
# or add a remote manually and push
|
|
git remote add origin git@github.com:YOURUSER/awx-local-setup.git
|
|
git branch -M main
|
|
git push -u origin main
|
|
```
|
|
|
|
If you'd like I can initialize the local git repo and commit here; pushing requires remote credentials or a remote URL.
|