मुख्य सामग्री पर जाएँ
kitlocal.dev

Git चीटशीट

लोकल चलता है

100% आपके ब्राउज़र में प्रोसेस होता है। इनपुट और आउटपुट कभी आपके डिवाइस से बाहर नहीं जाते।

Git कमांड का खोजने योग्य संदर्भ: दैनिक वर्कफ़्लो, अनडू और रिकवरी, worktrees, bisect, sparse-checkout और बहुत कुछ

  • First-time setupGit 2.28+ आवश्यक है
    git config --global user.name "Your Name"
    git config --global user.email "you@example.com"
    git config --global init.defaultBranch main

    Identity used for every commit, and main as the default branch name for new repositories.

कमांड की पुष्टि Git दस्तावेज़ों से की गई है। <placeholders> को अपने मानों से बदलें।