به نام خداوند مهربان

۲ مطلب با کلمه‌ی کلیدی «create» ثبت شده است

 create a new repository on the command line

echo "# python-exec" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/hdeldar/python-exec.git
git push -u origin main

or push an existing repository from the command line

git remote add origin https://github.com/hdeldar/python-exec.git
git branch -M main
git push -u origin main
  • حسن دلدار

Creating a new repository on the command line:

touch README.md

git init

#git checkout -b main

git add README.md

git commit -m "first commit"

git remote add origin http://user:pass@xxxx.git

git push -u origin master

#git push -u origin main


Pushing an existing repository from the command line:

git remote add origin http://user:pass@xxxx.git

git push -u origin master

#git push -u origin main

Other:

git push --all origin

  • حسن دلدار