xxxxxxxxxx
echo "# project name" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/User/repo
git push -u origin main
xxxxxxxxxx
## Create a new repository on the command line
echo "# REPOSITORYNAME" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/USERNAME/REPOSITORYNAME.git
git push -u origin main
## or Push an existing repository from the command line
git remote add origin https://github.com/USERNAME/REPOSITORYNAME.git
git branch -M main
git push -u origin main
xxxxxxxxxx
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/<your username>/<repository>.git
git push -u origin main
xxxxxxxxxx
echo "# landing-with-tailwind" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/xavionashik/landing-with-tailwind.git
git push -u origin main
xxxxxxxxxx
echo "# JavaFX" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/arjungautam1/JavaFX.git
git push -u origin main
xxxxxxxxxx
gh repo create repositoryname --public
#to use gh install github cli
#link for installation from differnet os
#https://cli.github.com/manual/installation
#if windows use
choco install gh
#after installation login to github using github cli
gh auth login
xxxxxxxxxx
# Navigate to root directory
# initialize
git init -b main
# stage and commit changes
git add . && git commit -m "initial commit"
# create new repository on GitHub using the GitHub CLI interface
gh repo create
# Follow prompts and instructions
xxxxxxxxxx
git init
git add .
git commit -m 'Initial commit'
gh repo create # => With the new GitHub CLI
xxxxxxxxxx
echo "# Wolf" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/adn777/Wolf.git
git push -u origin main