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

initial config · Changes

Page history
update authored Mar 14, 2015 by Administrator's avatar Administrator
Hide whitespace changes
Inline Side-by-side
Showing with 11 additions and 11 deletions
+11 -11
  • initial-config.markdown initial-config.markdown +11 -11
  • No files found.
initial-config.markdown
View page @ d6ddfba1
......@@ -8,27 +8,27 @@
3. Имя, которое будет указано в коммитах (**кто работал с CVS-репозиториями, укажите, пожалуйста, здесь то же имя, что было у вас в CVS. Таким образом мы сохраним преемственность авторов в истории CVS и Git**):
```
> git config --global user.name "NAME"
git config --global user.name "NAME"
```
4. E-mail, который будет указан в профиле коммита (желательно e-mail на домене isimplelab.com):
```
> git config --global user.email "EMAIL"
git config --global user.email "EMAIL"
```
5. Автоматическая конвертация символов конца строк:
```
> git config --global core.autocrlf true
git config --global core.autocrlf true
```
6. Путь к глобальному gitignore-файлу (Windows), файл [.gitignore_global](https://source.isimplelab.com/publics/howto/blob/89f4b0b57daa4e31e8f3e87872f170df3d973251/.gitignore_global) можно скачать в этом же репозитории:
```
> git config --global core.excludesfile %USERPROFILE%\.gitignore_global
git config --global core.excludesfile %USERPROFILE%\.gitignore_global
```
7. Добавляем короткие псевдонимы для часто встречающихся команд (опционально):
```
> git config --global alias.co checkout
> git config --global alias.br branch
> git config --global alias.ci commit
> git config --global alias.st status
> git config --global alias.lg "log -3 --graph --color=auto"
> git config --global alias.up "submodule update --init --remote"
> git config --global alias.each "submodule foreach"
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.lg "log -3 --graph --color=auto"
git config --global alias.up "submodule update --init --remote"
git config --global alias.each "submodule foreach"
```
Clone repository
  • Work in branches
  • clone ibank
  • create new module
  • create ssh key
  • git essentials
  • initial config
  • remove module
  • submodule basic