Setting Up Git and GitLab with IntelliJ (From Scratch)

preview_player
Показать описание
Here is a more recent version with audio:

This demonstration video shows how to set up Git and GitLab for use with IntelliJ

Mac OS 11.6 Big Sur
IntelliJ IDEA 2021.2.2 Community Edition

Setting Up the GitLab Server
---------------------------------------------
2. Sign In (or register)
3. Create a project
4. Enter Project Name
5. Select "Create Project"

Create a Local Git Repository
-----------------------------------------------
1. Check for existing Git Tool (bottom left corner)
2. Go to VCS Menu -- Select "Enable Version Control Integration"
3. Choose "Git" version control system
4. Access Git tool window from bottom left icon -- open it
5. Open command window using "CMD+K" or "CTRL+K"
6. Open up "unversioned files" list
7. Group files by directory
8. Select files to commit
9. Type in "Initial Commit" to comments (lower left)
10. Select "Commit" button (bottom, left)
11. Show Git tool window

Committing Changes
-----------------------------------
Files that have been changed are shown in blue in project window
1. Show modified files in commit window
2. Click on settings icon
3. Uncheck "Perform code analysis" and "Check Todo"
4. Add commit message to indicate changes

Sharing/Pushing a Local Git Project on GitHub
--------------------------------------------------------------------------
Notice Git log with only local branches
1. Select "Git" menu
2. Select "Push"
3. Select "Define remote"
4. Cut & Paste push URL from GitLab
5. Enter username and Access Token from GitLab server as password
Notice Repository on GitLab in browser
Notice Git log in IntelliJ -- new remote directory

Connect with Bob on LinkedIn:

Connect with Bob on Facebook:

Connect with Bob on WeChat-User ID: rlaramee
Рекомендации по теме
Комментарии
Автор

I'm watching this on March 5, 2024 and do not hear any audio. Is that intentional?

fmorriso
Автор

Thanks for providing this useful content.

_dhruvaggarwal
Автор

Its really very helpful..thank you so much

tejaswini