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 Жыл бұрын
Glad to help! I've got a long form GitLab and Git tutorial coming out soon. Would love your feedback when it comes out!
@doaamarshal18359 ай бұрын
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
@cameronmcnz9 ай бұрын
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 Жыл бұрын
"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 Жыл бұрын
at work asked me "what r u watching?"
@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 Жыл бұрын
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 Жыл бұрын
Getting error as : ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'gitlab..........'
@cameronmcnz10 ай бұрын
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-gx1sf2 жыл бұрын
Dude this was really useful, thanks for making this
@mohiburrahman5639 Жыл бұрын
after 2 days i have sloved my problem!! thank you somuch!!
@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_215982 жыл бұрын
this is best tutorial, thank you Cameron
@sakarkhatiwada832 жыл бұрын
Thanks man, It works perfectly without any error.
@omarm.k.shehada39592 жыл бұрын
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?
@cameronmcnz2 жыл бұрын
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.shehada39592 жыл бұрын
@@cameronmcnz same project of course but from different developer. That would help. Thank you.
@cameronmcnz2 жыл бұрын
@@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 Жыл бұрын
God bless you exactly what I was looking for Thanks a lot
@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 ...
@mohamedtarib6032 жыл бұрын
Thanks well explained what i have been looking for
@rishu_rvlogs51136 ай бұрын
thanks for the video.
@cameronmcnz6 ай бұрын
GitLab makes it easy!
@rochanarathnayake Жыл бұрын
Thank You Sir This helped me lot ❤❤
@ioanabiris3472 Жыл бұрын
Thank you!
@cameronmcnz Жыл бұрын
My pleasure!
@AaAa-of1lp Жыл бұрын
Thank you so much
@cameronmcnz Жыл бұрын
Glad I could help. Git and GitHub gets much easier after this point, I promise!
@Shadowzilla357Ай бұрын
I tried so many times but I alway's fail, ty for help.
@victorananth Жыл бұрын
It is pushing to my GitHub :(
@jesselynrustam2 жыл бұрын
super helpfull! Thanks!
@cameronmcnz2 жыл бұрын
Glad I could help you out!
@victorbrezoev76252 жыл бұрын
Very useful !
@IrinaStegniy2 жыл бұрын
Thank you! Wery simple and soooo useful!!!
@AjingPPP Жыл бұрын
Really saved my ass😂 thanks a lot!
@bahauddinchishte2 жыл бұрын
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?
@cameronmcnz2 жыл бұрын
Do you have multiple branches? The code might be in a different branch?
@bahauddinchishte2 жыл бұрын
@@cameronmcnz Hey, I solved it. Thanks!
@cameronmcnz2 жыл бұрын
@@bahauddinchishte Awesome! What was it?
@bahauddinchishte2 жыл бұрын
@@cameronmcnz I don't know actually. But After creating a new deposit and changing the shell from Bash to Zsh, it works fine now.
@mioszstachlewski4582 жыл бұрын
nice video :D
@interesting7312 жыл бұрын
BOOM thanks!!!
@fluttercompiler16932 жыл бұрын
Wow! Thanx)
@mohiburrahman5639 Жыл бұрын
you are super!!
@martinchromecek29282 жыл бұрын
Thanks!
@ismailzaidi7967 Жыл бұрын
thank you
@bekzodgayratov8 ай бұрын
Thanks
@namnguyen-cd2om10 ай бұрын
thank you
@cameronmcnz10 ай бұрын
Thanks for watching! I actually have an updated tutorial on this for some ways to do this without a forced push too!
@primavera9192 жыл бұрын
Damm SVN is much easier but companies still want to migrate to Git, that sucks
@cameronmcnz2 жыл бұрын
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!