نحوه دریافت کمک برای دستور Git
git help [-a|–all|-i|–info|-m|–man|-w|–web] [COMMAND]
مثال: git help git
مرورگر را راه اندازی می کند و کمکی را در HTML نشان می دهد.
راه اندازی مخزن محلی و ایجاد فشار اولیه:
cd my_project
git init
git add *
git commit -m "My initial commit message"
git remote add origin git@example.com:my_project.git
git push -u origin master
مخزن پرداخت
git clone git://github.com/schacon/grit.git
برای انجام تغییرات در مخزن محلی کافیست اضافه کنید تا commit کنید. اگر میخواهید شاخه/تغییرات محلی را به مخزن راه دور فشار دهید، کافیست دستور فشار زیر را انجام دهید.
git add --all git commit --all git push
دستور Push to Repository
git push <remote> <local branch name>:<remote branch to push into>
git push [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive-pack=]
[--repo=] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream]
[--force-with-lease[=[:]]]
[--no-verify] [ […]]
دستورات بیشتر برای یافتن در لینک های زیر.
Everyday Git با 20 دستور
https://www.kernel.org/pub/software/scm/git/docs/everyday.html
آموزش خوب Git
آموزش 1 اولین ساخت – http://git-scm.com/docs/gittutorial
آموزش ساخت 2 ثانیه – http://git-scm.com/docs/gittutorial-2.html
آموزش بیشتر – http://www.vogella.com/tutorials/Git/article.html#firstgit_repostatus

یک پاسخ بگذارید