…or create a new repository on the command line
echo "# <reponame>" >> README.md
git init
gitmyname
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:Lysak/<reponame>.git
git push -u origin main # -f
========================
========================
========================
========================
========================
========================
echo "# .idea" >> README.md
git init
gitmyname
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:Lysak/.idea.git
git push -u origin main -f
…or push an existing repository from the command line
git remote add origin git@github.com:Lysak/<reponame>.git
git branch -M main
git push -u origin main # -f
…or replace existing repository from the command line
git remote set-url origin git@github.com:Lysak/<reponame>.git
git remote -v
alias gitmyname='git config user.email "dlysak@live.com" ; git config user.name "Dmytrii Lysak"'