echo "# configs" >> README.md
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin [email protected]:hadipic/configs.git
git push -u origin main
git remote add origin [email protected]:hadipic/configs.git
git branch -M main
git push -u origin main
git add .
git commit -m "Message"
git push origin BRANCH_NAME
git checkout -b BRANCH origin/BRANCH # تغییر برنچ و متصل کردن آن به گیت ریموت
##
git checkout BRANCH # تغییر برنچ
##
git checkout -b BRANCH # ساخت برنچ جدید روی گیت لوکال
git fetch --prune # دریافت اخرین تغییرات و حذف برنچ های اضافی
##
git fetch --all # دریافت اخرین تغییرات
ssh-keygen -t ed25519 -C "[email protected]"
[!] Press Enter for all
~/.ssh/id_ed25519.pub
git config --global user.name "Hadi Bashniji"
git config --global user.email "[email protected]"