Files
Advanced-Git/contents/git-command-reference-full-list.md
T
2025-07-11 01:17:06 +00:00

1.4 KiB

⬅️ Back to Table of Contents

Git Command Reference (Full List)

Category: Reference

A comprehensive list of Git commands used in this project.

A comprehensive list of Git commands used in this project, formatted according to our standard.


Subcommands

git init --bare

Initialize a bare repository, typically used for remote repositories.

Command

git init --bare my-repo.git

Examples

  • Create a bare repository for collaboration.
git init --bare my-repo.git

Steps

  1. Run git init --bare my-repo.git to create a bare repository.

Tags

init, bare, repository

Author

mike-rambil

Last Updated

2024-06-10

git clone --mirror

Clone a repository in mirror mode, including all refs and branches.

Command

git clone --mirror https://github.com/example/repo.git

Examples

  • Create a full backup or migration of a repository.
git clone --mirror https://github.com/example/repo.git

Steps

  1. Run git clone --mirror <repository> to create a full backup or migration.

Tags

clone, mirror, backup

Author

mike-rambil

Last Updated

2024-06-10


Author: mike-rambil • Updated: 2024-06-10 • Tags: reference, all-commands