Skip to content

Instantly share code, notes, and snippets.

@artem78
artem78 / git_commands_help.md
Last active February 7, 2024 01:59
Шпаргалка по командам GIT

Git-logo

Заметки по наиболее часто используемым командам GIT для себя и не только

Подтянуть новые коммиты из удалённого репозитория

Или в чём разница между git pull и git fetch? Если совсем коротко, то:

git pull = git fetch + git merge
@gitaarik
gitaarik / git_submodules.md
Last active June 3, 2024 03:52
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.