Skip to content

Instantly share code, notes, and snippets.

@spolischook
Last active October 16, 2018 15:22
Show Gist options
  • Save spolischook/c9547147192a7d1a73131ebe570a7c45 to your computer and use it in GitHub Desktop.
Save spolischook/c9547147192a7d1a73131ebe570a7c45 to your computer and use it in GitHub Desktop.
git init - ініціалізація репозіторію
git clone __link__ - Склонувати/скопіювати репозиторій
git gui - UI утіліта для роботи с гітом
git push -u origin branch_name - відправити коміти на remote сервер і зв'язати локальну гілку до ремоут
git push - відправити коміти на remote сервер
git pull - отримати (синхронізувати) данні з remote сервера
git branch - показати які є локальні гілки і на якій зараз знаходишся
git checkout -b branch_name - створити гілку
git checkout branch_name - перейти на гілку
git checkout #hash - перейти на комміт
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment