כיצד לקבל עזרה עבור פקודת Git
עזרה בגיטים [-a|–all|-i|–info|-m|–man|-w|–web] [COMMAND]
דוגמה: עזרה בגיטים (git help)
זה מפעיל דפדפן ומציג עזרה ב-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 שינויים למאגר המקומי, פשוט הוסף, ולאחר מכן בצע commit. אם ברצונך לדחוף את הענף המקומי/שינויים למאגר המרוחק, פשוט בצע את הפקודה 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 פקודות
https://www.kernel.org/pub/software/scm/git/docs/everyday.html
מדריכי גיט טובים
מדריך 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

השאר תגובה