Git कमांड के लिए सहायता कैसे प्राप्त करें
गिट सहायता [-a|–all|-i|–info|-m|–man|-w|–web] [COMMAND]
उदाहरण: गिट सहायता गिट
यह एक ब्राउज़र लॉन्च करता है और 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
स्थानीय रिपॉजिटरी में बदलाव करने के लिए कमिट करने के बजाय बस कुछ जोड़ें। यदि आप स्थानीय शाखा/परिवर्तनों को दूरस्थ रिपॉजिटरी में धकेलना चाहते हैं तो बस नीचे पुश कमांड करें।
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
अच्छे गिट ट्यूटोरियल
सबसे पहले बनाने के लिए ट्यूटोरियल 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

उत्तर छोड़ दें