GitCommandsPro Your Guide to Essential Git Commands in 2024
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyx8k9g3_ZbXvNTdGsCbublJETcbQMYMq4M2mUxQjFMrK8Z5KsyH0V6ed04vnPH8k_XXXefxbfypWK_4CjGFa6cPOUlv0B7k8Oertr48qH_P76z5GdW6pvc8j9q4A5uoCen_zypB9-dUjIi3a8OldSHmtlkNwmJMnj8NuT6h8jXzch8bzM8bcVBfwiwPI/w617-h322/Screenshot%202023-10-21%20222939.png)
Table of Content 1 Check git version 2 Configuration Settings 3 Initializing a repository 4 Staging files 5 Viewing the status 6 Committing the staged files 7 Skipping the staging area 8. Removing files 9 Renaming or moving files 10 Viewing the staged/unstaged changes 11 Viewing the history 12 Viewing a commit 13 Unstaging files (undoing git add) 14 Discarding local changes 15 Restoring an earlier version of a file 1. Check git version git --version 2. Configuration Settings Levels of defining this settings are System level - apply to All Users of computer. Global – all repositories of the current user. Local – the current repository. Or a repository in the current folder. Name git config --global user.name "YOUR_NAME" Email git config --global user.email YOUR_MAIL@gmail.com Default Editor (for settin...