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

  Рет қаралды 79,753

Cameron McKenzie

Cameron McKenzie

Күн бұрын

Пікірлер: 56
@kabelservice8450
@kabelservice8450 Жыл бұрын
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 Жыл бұрын
Glad to help! I've got a long form GitLab and Git tutorial coming out soon. Would love your feedback when it comes out!
@doaamarshal1835
@doaamarshal1835 9 ай бұрын
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 9 ай бұрын
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
@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?"
@abdulalinawrozie8070
@abdulalinawrozie8070 Жыл бұрын
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 Жыл бұрын
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!
@San2shsingh
@San2shsingh Жыл бұрын
Getting error as : ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'gitlab..........'
@cameronmcnz
@cameronmcnz 10 ай бұрын
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! kzbin.info/www/bejne/hZeknWmIa994rrcsi=jU3nNdShKEfCxFgF
@Sean-gx1sf
@Sean-gx1sf 2 жыл бұрын
Dude this was really useful, thanks for making this
@mohiburrahman5639
@mohiburrahman5639 Жыл бұрын
after 2 days i have sloved my problem!! thank you somuch!!
@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
@glgurel_21598
@glgurel_21598 2 жыл бұрын
this is best tutorial, thank you Cameron
@sakarkhatiwada83
@sakarkhatiwada83 2 жыл бұрын
Thanks man, It works perfectly without any error.
@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.
@pravin1877
@pravin1877 Жыл бұрын
God bless you exactly what I was looking for Thanks a lot
@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 ...
@mohamedtarib603
@mohamedtarib603 2 жыл бұрын
Thanks well explained what i have been looking for
@rishu_rvlogs5113
@rishu_rvlogs5113 6 ай бұрын
thanks for the video.
@cameronmcnz
@cameronmcnz 6 ай бұрын
GitLab makes it easy!
@rochanarathnayake
@rochanarathnayake Жыл бұрын
Thank You Sir This helped me lot ❤❤
@ioanabiris3472
@ioanabiris3472 Жыл бұрын
Thank you!
@cameronmcnz
@cameronmcnz Жыл бұрын
My pleasure!
@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!
@Shadowzilla357
@Shadowzilla357 Ай бұрын
I tried so many times but I alway's fail, ty for help.
@victorananth
@victorananth Жыл бұрын
It is pushing to my GitHub :(
@jesselynrustam
@jesselynrustam 2 жыл бұрын
super helpfull! Thanks!
@cameronmcnz
@cameronmcnz 2 жыл бұрын
Glad I could help you out!
@victorbrezoev7625
@victorbrezoev7625 2 жыл бұрын
Very useful !
@IrinaStegniy
@IrinaStegniy 2 жыл бұрын
Thank you! Wery simple and soooo useful!!!
@AjingPPP
@AjingPPP Жыл бұрын
Really saved my ass😂 thanks a lot!
@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.
@mioszstachlewski458
@mioszstachlewski458 2 жыл бұрын
nice video :D
@interesting731
@interesting731 2 жыл бұрын
BOOM thanks!!!
@fluttercompiler1693
@fluttercompiler1693 2 жыл бұрын
Wow! Thanx)
@mohiburrahman5639
@mohiburrahman5639 Жыл бұрын
you are super!!
@martinchromecek2928
@martinchromecek2928 2 жыл бұрын
Thanks!
@ismailzaidi7967
@ismailzaidi7967 Жыл бұрын
thank you
@bekzodgayratov
@bekzodgayratov 8 ай бұрын
Thanks
@namnguyen-cd2om
@namnguyen-cd2om 10 ай бұрын
thank you
@cameronmcnz
@cameronmcnz 10 ай бұрын
Thanks for watching! I actually have an updated tutorial on this for some ways to do this without a forced push too!
@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!
@triuc8755
@triuc8755 Жыл бұрын
thankssssssssssssssssssssssssssssss. I love you.
@muhammadabba842
@muhammadabba842 Ай бұрын
❤❤❤
@margheritacodemo5039
@margheritacodemo5039 7 ай бұрын
i love you
@setarehmdghlch3155
@setarehmdghlch3155 Жыл бұрын
wonderfull
How to add a new project to an existing Bitbucket repository
5:46
Cameron McKenzie
Рет қаралды 30 М.
Setup Git for using GitLab (including SSH key) - Windows 10
13:42
Valentin Despa
Рет қаралды 183 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
How to Push an Existing Project to GitLab
19:14
Cameron McKenzie
Рет қаралды 9 М.
GitLab Beginner Tutorial 2 | Getting started with Git Commands
20:22
Automation Step by Step
Рет қаралды 557 М.
How GitHub's Database Self-Destructed in 43 Seconds
12:04
Kevin Fang
Рет қаралды 1 МЛН
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
How to add a new project to an existing GitHub repository
5:45
Cameron McKenzie
Рет қаралды 99 М.
Learn GitLab in 3 Hours | GitLab Complete Tutorial For Beginners
3:26:43
Setup Git for using GitLab (including SSH key) - macOS
14:26
Valentin Despa
Рет қаралды 54 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН