Skip to content

A collection of essential Git commands with explanations and examples for quick reference. Useful for beginners and developers to manage version control efficiently.

Notifications You must be signed in to change notification settings

akshaykarthicks/GIt-Comands-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

# Git Commands

A collection of essential Git commands with explanations and examples for quick reference.  
Useful for beginners and developers to manage version control efficiently.

## πŸ“˜ Overview
This repository provides a concise list of commonly used Git commands categorized for easy understanding.  
Each command includes a short description and example usage to help you learn and apply Git effectively.

## 🧩 Categories
- **Setup and Configuration**
- **Repository Initialization**
- **Branching and Merging**
- **Staging and Committing**
- **Remote Repositories**
- **Undoing Changes**
- **Viewing History**
- **Tagging and Releases**

## πŸ’» Example Commands

### Initialize a Repository
```bash
git init

Creates a new Git repository in the current directory.

Clone a Repository

git clone <repository-url>

Copies an existing repository to your local machine.

Check Status

git status

Displays the current state of your working directory and staging area.

Commit Changes

git commit -m "Your commit message"

Records staged changes to the repository.

🧠 Tips

  • Use git log --oneline for a compact commit history.
  • Use git diff to review changes before committing.
  • Always pull before pushing to avoid conflicts.

πŸ“„ License

This project is open source and available under the MIT License.

πŸ‘¨β€πŸ’» Author

Akshay Karthick S
GitHub | LinkedIn

About

A collection of essential Git commands with explanations and examples for quick reference. Useful for beginners and developers to manage version control efficiently.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published