Bảng tra cứu nhanh Git
Tra cứu lệnh Git có tìm kiếm: quy trình hằng ngày, hoàn tác và khôi phục, worktrees, bisect, sparse-checkout và nhiều hơn nữa
- First-time setupYêu cầu Git 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.
Các lệnh được đối chiếu theo tài liệu chính thức của Git. Hãy thay <placeholders> bằng giá trị của bạn.