Push Project from IntelliJ To GitLab | Commit & push code to GitLab | Pull code from GitLab repo

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so guys let's see how we can share this main project to the gitlab from the IntelliJ so again I will go to the VCS and I will enable the Version Control integration here you can select the git and click on OK so once you enabled the vs integration you will get different option like gate your local Master branch and here the different icons to commit and push your project okay so once uh VCS is enabled you will get the empty git repository over here okay so first let's commit all our local files to our local gate repository so from this commit to window I will select let's say all the files and I will add comment message here first commit commit and push okay so we have not defined any remote over here so you can Define it from here or as shown in the previous session we can add it from the VCS window go to VCS then go to git and select the remotes okay so click on the plus sign so here we need to add the URL upper gitlab repository okay gitlab project so first I will go to the gitlab and I will create a repository or a project in gitlab create a blank project say gitlab test it's a public repository and I don't want this redmi so click on create project okay so this is the URL copy it and add in this URL click on OK so URL is correct click on ok now okay so we have added the remote now so we can directly click on uh push so these are the files that will be post from local git repository to the remote uh gitlab repository I will click on push okay so for the first time it will ask me for my credentials okay so in case of GitHub we have different uh options like you need to use the tokens to login into the GitHub and then you will be able to push the project but in case of gitlab it will ask your username and password so if credentials are correct then it will successfully post your project from Master to New Branch origin master in the gitlab so you can verify it just refresh the page okay so we got our local project here so let's try to make some changes in the gitlab and we will try to pull those changes in the IntelliJ so here I will make some changes over here so I will just add one comment over here a new code change in it and you can commit changes in the master Branch itself okay so this change if you want uh we need to update the project first right so I will click on update project click on OK so it will first go and face the changes and then it will merge that Master Branch into the local Master branch so for the second time if you are going to mix new changes in the local let's say look code changes okay let's try to commit and push these changes in this file so in the comment window it is showing this file has been changed so select that check box and click on Commit and push so it will going to post Master to the master Branch click on push so it will again Ask me the credentials so if I select this check box it will not ask me any authentication every time so here I will add my password we push one commit to the origin master so that's all for this session guys let me know if you face any issue in this thank you [Music] [Applause]
Info
Channel: AJ AUTOMATION
Views: 12,473
Rating: undefined out of 5
Keywords: push to gitlab, push project to gitlab, push project to gitlab first time, push project to gitlab intellij, push code to gitlab from intellij, connect intellij to gitlab, intellij to gitlab, how to push code to github from intellij, integrate git with intellij, push to gitlab container registry, push to gitlab repo, commit & push, commit and push in intellij, commit and push to github, commit and push to gitlab, pull from gitlab to local, pull code from gitlab to intellij
Id: QkIEbNiudEI
Channel Id: undefined
Length: 5min 1sec (301 seconds)
Published: Sat Mar 25 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.