No video

How to Add & Upload a New Project to an Existing GitLab repository

  Рет қаралды 71,060

Cameron McKenzie

Cameron McKenzie

Күн бұрын

Hey fellow lovers of GitHub! I actually just updated this video with some better, safer and easier ways to upload your existing project to GitLab. Please check this video out and give it a thumbs up!
• How to Push an Existin...
Using GitLab? Need to push a new project to your existing GitLab repo? It's not hard to do. In this quick GitLab push to remote tutorial, I'll show you how to take an existing project, add it to Git locally, and then connect that local Git repository to an existing GitLab repository on the server. Honestly, it's not hard to push a new project to an existing GitLab repository. Just a few git add and git remote commands will do it!

Пікірлер: 54
@coursesforintelligence
@coursesforintelligence Жыл бұрын
"Don't say I'm afraid of commitment, I commit all the time" 😂, thank you for that - genuinely the first time I smiled without trying all day
@polizona
@polizona Жыл бұрын
at work asked me "what r u watching?"
@kabelservice8450
@kabelservice8450 7 ай бұрын
You're the man! Holy Cow you have made this stuff so much easier than what the text guides have to offer through gitlab.
@cameronmcnz
@cameronmcnz 7 ай бұрын
Glad to help! I've got a long form GitLab and Git tutorial coming out soon. Would love your feedback when it comes out!
@alishbajaved8022
@alishbajaved8022 Жыл бұрын
For those still having issues Go in your project folder in file explorer and delete the git hidden file already created Perform all these instructions described in the video again and you're good to go
@abdulalinawrozie8070
@abdulalinawrozie8070 8 ай бұрын
Thank you so much, after spending hours on the other websites I finally figured out how git/gitlab works. very simple and straight-forward explanation. Thank you once again. ❤
@cameronmcnz
@cameronmcnz 8 ай бұрын
Thanks for the kind words! This is actually the proper way to do it, but there’s an easier way. Just clone, copy your files into the cloned repo, commit and push. No messing with remote refs. I’m going to redo this video and show both ways. Too late for you maybe but others might enjoy it. Thanks for making me smile this morning!
@cameronmcnz
@cameronmcnz 5 ай бұрын
Please check out the updated tutorial. It shows a few easier approaches to upload new projects to GitLab, while avoiding any forced pushes which can be dangerous. Check it out! kzfaq.info/get/bejne/hcxxn5mDm-CpqIk.htmlsi=jU3nNdShKEfCxFgF
@doaamarshal1835
@doaamarshal1835 4 ай бұрын
Well, you're my hero, honestly the easiest time to understand these things, I just succeeded the first time and have been trying since last night! Keep at it
@cameronmcnz
@cameronmcnz 4 ай бұрын
Happy to be of service! I actually updated this video to show some alternate ways to push up without a force, but if the approach worked for you, then that's awesome! www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/How-to-add-and-push-an-existing-project-to-GitLab
@mohiburrahman5639
@mohiburrahman5639 Жыл бұрын
after 2 days i have sloved my problem!! thank you somuch!!
@Sean-gx1sf
@Sean-gx1sf Жыл бұрын
Dude this was really useful, thanks for making this
@glgurel_21598
@glgurel_21598 Жыл бұрын
this is best tutorial, thank you Cameron
@AaAa-of1lp
@AaAa-of1lp Жыл бұрын
Thank you so much
@cameronmcnz
@cameronmcnz Жыл бұрын
Glad I could help. Git and GitHub gets much easier after this point, I promise!
@San2shsingh
@San2shsingh Жыл бұрын
Getting error as : ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'gitlab..........'
@ioanabiris3472
@ioanabiris3472 11 ай бұрын
Thank you!
@cameronmcnz
@cameronmcnz 11 ай бұрын
My pleasure!
@yxs8495
@yxs8495 Жыл бұрын
I think you mean add a repository to a Project. The Project is in the remote Gitlab server and the repo is usually on your local machine. Your push the repo to the Project. You usually create a folder on your local machine and type in git init. This creates the repository. Which you then push to the Project. Every Project has a repo ... in addition to other things e.g. wiki, issues, people permissions etc ...
@pravin1877
@pravin1877 Жыл бұрын
God bless you exactly what I was looking for Thanks a lot
@rishu_rvlogs5113
@rishu_rvlogs5113 Ай бұрын
thanks for the video.
@cameronmcnz
@cameronmcnz Ай бұрын
GitLab makes it easy!
@mohamedtarib603
@mohamedtarib603 Жыл бұрын
Thanks well explained what i have been looking for
@sakarkhatiwada83
@sakarkhatiwada83 Жыл бұрын
Thanks man, It works perfectly without any error.
@user-fu9wl6yn2d
@user-fu9wl6yn2d Жыл бұрын
Thank You Sir This helped me lot ❤❤
@omarm.k.shehada3959
@omarm.k.shehada3959 2 жыл бұрын
Appreciate that. Thank you. I have a couple of questions, if I may: I work on a project locally, and managed to push it remotely and everything is going well. Pushing and pulling. My question is, how can I pull changes from other repos? And from same repo, but different branch?
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Is the other repo the same project or a different one? Easy way? Just pull the other project, delete its hidden .git directory, create a new branch in your base project, copy the files over, and do a commit and push. Voila! Your other project is now on a separate branch of the base project.
@omarm.k.shehada3959
@omarm.k.shehada3959 2 жыл бұрын
@@cameronmcnz same project of course but from different developer. That would help. Thank you.
@cameronmcnz
@cameronmcnz 2 жыл бұрын
@@omarm.k.shehada3959 Yeah, like you could configure remote references etc and do it the 'git way.' But this is a good cheat way to just get it done simply and quickly.
@jesselynrustam
@jesselynrustam 2 жыл бұрын
super helpfull! Thanks!
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Glad I could help you out!
@victorbrezoev7625
@victorbrezoev7625 2 жыл бұрын
Very useful !
@AjingPPP
@AjingPPP Жыл бұрын
Really saved my ass😂 thanks a lot!
@bekzodgayratov
@bekzodgayratov 2 ай бұрын
Thanks
@IrinaStegniy
@IrinaStegniy Жыл бұрын
Thank you! Wery simple and soooo useful!!!
@mohiburrahman5639
@mohiburrahman5639 Жыл бұрын
you are super!!
@triuc8755
@triuc8755 11 ай бұрын
thankssssssssssssssssssssssssssssss. I love you.
@namnguyen-cd2om
@namnguyen-cd2om 5 ай бұрын
thank you
@cameronmcnz
@cameronmcnz 5 ай бұрын
Thanks for watching! I actually have an updated tutorial on this for some ways to do this without a forced push too!
@interesting731
@interesting731 Жыл бұрын
BOOM thanks!!!
@mioszstachlewski458
@mioszstachlewski458 Жыл бұрын
nice video :D
@ismailzaidi7967
@ismailzaidi7967 Жыл бұрын
thank you
@fluttercompiler1693
@fluttercompiler1693 Жыл бұрын
Wow! Thanx)
@martinchromecek2928
@martinchromecek2928 2 жыл бұрын
Thanks!
@margheritacodemo5039
@margheritacodemo5039 2 ай бұрын
i love you
@bahauddinchishte
@bahauddinchishte 2 жыл бұрын
Hey, My updated code was successfully pushed to GIT but I do not find any updated code/file on the repository? Also, I waited and reload my page but the file did not showing up :( Can you please help me with this?
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Do you have multiple branches? The code might be in a different branch?
@bahauddinchishte
@bahauddinchishte 2 жыл бұрын
@@cameronmcnz Hey, I solved it. Thanks!
@cameronmcnz
@cameronmcnz 2 жыл бұрын
@@bahauddinchishte Awesome! What was it?
@bahauddinchishte
@bahauddinchishte 2 жыл бұрын
@@cameronmcnz I don't know actually. But After creating a new deposit and changing the shell from Bash to Zsh, it works fine now.
@setarehmdghlch3155
@setarehmdghlch3155 Жыл бұрын
wonderfull
@victorananth
@victorananth 9 ай бұрын
It is pushing to my GitHub :(
@primavera919
@primavera919 2 жыл бұрын
Damm SVN is much easier but companies still want to migrate to Git, that sucks
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Once you get more familiar with Git it starts to make a lot more sense. Give it a chance and you'll learn to love it!
Setup Git for using GitLab (including SSH key) - Windows 10
13:42
Valentin Despa
Рет қаралды 174 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 16 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 65 МЛН
My Cheetos🍕PIZZA #cooking #shorts
00:43
BANKII
Рет қаралды 26 МЛН
How to add a new project to an existing Bitbucket repository
5:46
Cameron McKenzie
Рет қаралды 28 М.
How to Push an Existing Project to GitLab
19:14
Cameron McKenzie
Рет қаралды 4,4 М.
How to add a new project to an existing GitHub repository
5:45
Cameron McKenzie
Рет қаралды 90 М.
how to create git repository and push to gitlab
11:38
Simply Done
Рет қаралды 120 М.
How to upload project in Gitlab?
4:50
Aashish TM
Рет қаралды 21 М.
Setup Git for using GitLab (including SSH key) - macOS
14:26
Valentin Despa
Рет қаралды 49 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 16 МЛН