Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
H How-To
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • docs
  • How-To
  • Wiki
  • initial config

Last edited by Анатолий Селютин Jan 22, 2018
Page history
This is an old version of this page. You can view the most recent version or browse the history.

initial config

Начальная настройка

Имя, которое будет указано в коммитах (кто работал с CVS-репозиториями, укажите, пожалуйста, здесь то же имя, что было у вас в CVS. Таким образом мы сохраним преемственность авторов в истории CVS и Git):

git config --global user.name "NAME"

E-mail, который будет указан в профиле коммита (желательно e-mail на домене isimplelab.com):

git config --global user.email "EMAIL"

Автоматическая конвертация символов конца строк:

Windows: git config --global core.autocrlf true

Linux/Mac: git config --global core.autocrlf input

Путь к глобальному gitignore-файлу (Windows), файл .gitignore_global можно скачать в этом же репозитории:

git config --global core.excludesfile %USERPROFILE%\.gitignore_global

Для сохранения логина и пароля пользователя при доступе к репозитории по http (Windows):

git config --global credential.helper wincred

Clone repository
  • Work in branches
  • clone ibank
  • create new module
  • create ssh key
  • git essentials
  • initial config
  • remove module
  • submodule basic