Маңызды Git командалары және оқулықтар

Git пәрменіне қалай анықтама алуға болады

git көмек [-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

Жергілікті репозиторийге өзгертулер енгізу үшін міндеттемеден гөрі қосыңыз. Жергілікті филиалды/өзгерістерді қашықтағы репозиторийге итергіңіз келсе, төмендегі push пәрменін орындаңыз.

git add --all

git commit --all

git push

Репозиторийге пәрменді басыңыз

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] [ […]]

Қосымша командаларды келесі сілтемелерден табуға болады.

20 пәрмені бар күнделікті Git

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

2 responses to “Маңызды Git командалары және оқулықтар”

  1. I wanted to thank you for this wonderful read!!
    I definitely loved every bit of it. I have got
    you book-marked to check out new stuff you post…

  2. Wow, this paragraph iѕ pleasant, my younger
    sisster iss analyzing these kinds oof things,
    thus I am going to inform her.

Жауап қалдырыңыз