Skip to content

Instantly share code, notes, and snippets.

@mdanshin
Created November 14, 2022 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdanshin/7068039027782ec988bd85045c49202e to your computer and use it in GitHub Desktop.
Save mdanshin/7068039027782ec988bd85045c49202e to your computer and use it in GitHub Desktop.
git init
git config --global user.name "Mikhail Danshin"
git config --global user.email mdanshin@gmail.com
git init
git checkout -b main #In October 2020, GitHub has changed its naming convention for the default branch from master to main.
git remote add origin https://gitlab.danshin.ms/mdanshin/cicd-test.git
git add .
git commit -m "Initial commit"
git -c http.sslVerify=false push -u origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment