Skip to content

A quick reference for essential Git commands, tailored for Windows and macOS users.

License

Notifications You must be signed in to change notification settings

ahmed8faysal/git-command-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Command Guide

This repository provides a hands-on guide to using essential Git commands, separated for Windows and macOS users.

Table of Contents

Introduction

Git is a powerful version control system that helps track changes in your code and collaborate with others. This guide provides commonly used Git commands, tailored for your operating system.

Setup

  1. Install Git:
    • Download and install Git from the official Git website.
  2. Configure Git:
    • Open your terminal or command prompt.
    • Set your username and email:
      git config --global user.name "Your Name"
      git config --global user.email "[email address removed]"
    • Set your default branch name to main.
      git config --global init.defaultBranch main

Basic Git Commands

Windows

See windows_commands.txt for the list of Git commands.

macOS

See macos_commands.txt for the list of Git commands.

Contributing

Feel free to contribute to this guide by adding more commands, improving explanations, or fixing errors.

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Commit your changes.
  4. Push your changes to your fork.
  5. Submit a pull request.

License

This project is licensed under the MIT License.

About

A quick reference for essential Git commands, tailored for Windows and macOS users.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published