Git चीटशीट
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 mainIdentity used for every commit, and main as the default branch name for new repositories.
कमांड की पुष्टि Git दस्तावेज़ों से की गई है। <placeholders> को अपने मानों से बदलें।