Git

From wiki
Revision as of 20:52, 13 April 2023 by Mike (talk | contribs) (Created page with "Initial git. $git init $git add . $git commit -m "initial upload" $git remote add origin https://gitlab.michaelurrea.com/ansible/roles/name-of-playbook.git $git checkout -b main $git push --set-upstream origin main")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Initial git.

$git init

$git add .

$git commit -m "initial upload"

$git remote add origin https://gitlab.michaelurrea.com/ansible/roles/name-of-playbook.git

$git checkout -b main

$git push --set-upstream origin main