١، ٧، الحصول على المساعدة
إذا احتجت يومًا إلى المساعدة في جت، فعندك ثلاث طرائق متكافئة للحصول على صفحة الدليل الشامل (manpage) لأي أمر من أوامر جت:
$ git help «أمر»
$ git «أمر» --help
$ man git-«أمر»
مثلا، للحصول على صفحة مساعدة الأمر git config، نفّذ هذا:
$ git help config
هذه الأوامر جميلة لأنك تستطيع استعمالها في أي مكان، حتى عندما تكون غير متصل بالشابكة.
إن لم تكن صفحات المساعدة وهذا الكتاب كافيين واحتجت مساعدة شخصية، يمكنك تجربة إحدى قنوات IRC مثل #git أو #github أو #gitlab على خادوم Libera Chat، الذي تجده على https://libera.chat.
هذه القنوات مليئة باستمرار بمئات الخبراء في جت والذين أغلب الأوقات يوَدّون المساعدة.
وإن لم تحتجْ إلى صفحة الدليل الكبيرة الكاملة، ولكن احتجت فقط إلى تذكير بالخيارات المتاحة لأحد أوامر جت، فيمكنك طلب المساعدة الموجزة بالخيار -h، مثل:
$ git add -h
usage: git add [<options>] [--] <pathspec>...
-n, --dry-run dry run
-v, --verbose be verbose
-i, --interactive interactive picking
-p, --patch select hunks interactively
-e, --edit edit current diff and apply
-f, --force allow adding otherwise ignored files
-u, --update update tracked files
--renormalize renormalize EOL of tracked files (implies -u)
-N, --intent-to-add record only the fact that the path will be added later
-A, --all add changes from all tracked and untracked files
--ignore-removal ignore paths removed in the working tree (same as --no-all)
--refresh don't add, only refresh the index
--ignore-errors just skip files which cannot be added because of errors
--ignore-missing check if - even missing - files are ignored in dry run
--sparse allow updating entries outside of the sparse-checkout cone
--chmod (+|-)x override the executable bit of the listed files
--pathspec-from-file <file> read pathspec from file
--pathspec-file-nul with --pathspec-from-file, pathspec elements are separated with NUL character