Git dagi global sozlamalarni kiritish
git config --global user.name "YOUR NAME"
git config --global user.email "YOUR@MAIL.COM"
Mavjud repo'ni olish va undagi o'zgarishlar repo'ga uzatish
git clone https://github.com/mrmuminov/repo.git
cd repo
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
local yaratilgan proyektni gitdagi bo'sh repo'ga yuklash
cd existing_folder
git init
git remote add origin https://github.com/mrmuminov/repo.git
git add .
git commit -m "Initial commit"
git push -u origin master
local yaratilgan proyektni gitdagi bo'sh bo'lmagan repo'ga yuklash
cd existing_repo
git remote rename origin old-origin
git remote add origin https://github.com/mrmuminov/repo.git
git push -u origin --all
git push -u origin --tags
Bahriddin Mo'minov ))
Top comments (0)