Тёмный

How to use Git Remote Add Origin 

Cameron McKenzie
Подписаться 22 тыс.
Просмотров 7 тыс.
50% 1

Опубликовано:

 

11 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@thismoment57
@thismoment57 6 месяцев назад
Cameron ... 1) so well-explained, 2)superbly presented! You saved this semi-newbie's skin! I also learned precious extra which will serve me well in the future. I'd love to master git and Github better going forward ... you're a prime candidate for helping us achieve. Huge thank you! 🙏🙏🙏
@johnagbo1825
@johnagbo1825 4 месяца назад
I have searched for this all my life. Thanks for explaining this complex idea in a straightforward and structured way. Regards
@md-oo1kw
@md-oo1kw 8 месяцев назад
God bless you, and thank you so much. For over a year now your videos have been very helpful to me and i cant thank you enough.
@cameronmcnz
@cameronmcnz 8 месяцев назад
Thanks so much for the kind words! Many of my older Git videos were recorded with cheap mics and no video, so I'm trying to update a bunch of them and make them more current. Thanks for watching and thanks for the support!
@mruthulm6187
@mruthulm6187 8 месяцев назад
Wonderful 🎉, as a beginner we all were screwed doing this😅
@cameronmcnz
@cameronmcnz 8 месяцев назад
Did you stick around for the cheat method at the 19:20 mark? Honestly makes things super simple if your repo isn't huge. Save you from doing a forced push or git rebase after the git remote add origin command. Thanks for the comment and thanks for watching!
@mruthulm6187
@mruthulm6187 8 месяцев назад
@@cameronmcnz how to deal with open source projects and the git operations we must know for it might be a great content. I hope you will do that👍
@cameronmcnz
@cameronmcnz 8 месяцев назад
@@mruthulm6187 I think that's a great idea! And I know an open source project that might actually be perfect for that!
@diegorangel5448
@diegorangel5448 2 месяца назад
very well i watched your video ...congratulations
@cameronmcnz
@cameronmcnz 2 месяца назад
You didn't just view, but you commented as well. That's actually a big help because it wakes up the RU-vid algo. Thanks for watching!
@jawad_youtube
@jawad_youtube 8 месяцев назад
Thank you, Sir. It was really informative and helpful.
@cameronmcnz
@cameronmcnz 8 месяцев назад
Glad I helped! Lots of people run into problems with Git's remote add origin command. Hopefully this clears things up and makes life a bit easier. Git and GitHub an GitLab etc get a lot easier once you're connected to your Git repo!
@ChrisCox-wv7oo
@ChrisCox-wv7oo 2 месяца назад
Super helpful, thank you
@nakkiibrks
@nakkiibrks 14 дней назад
underrated
@cameronmcnz
@cameronmcnz 14 дней назад
Thanks for the vote of confidence. One day I’ll win the RU-vid algo. Imma just keep plugging along.
@Beetgrape
@Beetgrape 4 месяца назад
Hi Cameron, you see I forked a public github repo and deleted all the history. now, it is fresh and i wanna know will I be able to sync it with the original repo if they updates the repo? if so, please make a tutorial.
@nlegacysolo
@nlegacysolo 2 месяца назад
Very useful. Might I make a suggestion? I watched your 1:53min vid created in Jan2024 BEFORE watching this one and it took me 2hrs to figure *this* out on my own _no help from search engine cuz that’s what us codeaholics do _debug til we fig it out. So I only finished half the tutorial before needing a long break after. My fault cuz I had 2 ready2commit projects sitting on my hd, instead of creating no content files like in your vid. My sugg - update your vid or add info in description warning ppl. All the failed attempts to commit led me to the solution. I deleted ‘main’ branch after figuring out how to add ‘master’. How was I to know I coulda saved 2hrs by watching this?🥺😢😩
@cameronmcnz
@cameronmcnz 2 месяца назад
I'll make that update. What's the short note I should add in? To remind people to check the name of the branch, and make sure there's not a main/master mismatch? I'll update the description of both videos.
@nlegacysolo
@nlegacysolo 2 месяца назад
@@cameronmcnz The problem only occurred because when creating the Github repository, I created a MIT license too because that’s what my proj uses. In your vid, there was no error because your repo was created empty. So I renamed using -M main which resulted in 2 branches named main. I reverted back to master (locally), committing it and then deleted main. So, the short way to put in descr (in case someone did not create empty repo) is to just say something like “you might run into a glitch 😏 at 00:43:00. if you get an error when tryin to commit new repository, watch this video….” That’s short. If at all possible in your video, if it’s not too much work to edit vid, all you gotta do is tell them to make sure they leave their Github repo empty when creating. Anyone who followed your vid exactly would not have run into that problem so wouldn’t even know there could be a problem. 🙃
@cameronmcnz
@cameronmcnz 2 месяца назад
@@nlegacysolo I'll make that update for sure. I make these videos to try and help people avoid those frustrating experiences. RU-vid doesn't let you edit a video once it's update, so that's limiting, but I'll make a note in the description for sure. I'll go look if their editing tools for uploaded videos have changed. Basically, they don't want someone to upload a video about one thing, get people to share it, and then change the content into something vile or vulgar. So as a creator it's frustrating when you upload something and can't make changes, but it's sorta understandable from RU-vid's perspective.
@ddaniel.98
@ddaniel.98 8 месяцев назад
Hello! I have a little problem: when I type "git push -u origin master" I get "Support for password authentication was removed on August 13, 2021". What is happening? Thank you.
@cameronmcnz
@cameronmcnz 8 месяцев назад
You are trying to authenticate using your account password, which you're not allowed to do anymore. Instead, you need to generate an access token and then use the token as your password. I have a quick video on it here. The UI has changed a little bit but not much. Hope this helps! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-m5SChqEi314.htmlsi=GhvzcdLpkPWNJST2
@ddaniel.98
@ddaniel.98 8 месяцев назад
Thank you so much. I just found your previous tutorial about this problem and helped me a lot. Thank you again.
@FlightPhysical
@FlightPhysical 3 месяца назад
You can also use the SSH method (separate tab on GH) vs HTTPS to generate some push code examples with your repo
Далее
Авто уровни Happy Glass level 604 - 606
00:49
Git Essentials
30:03
Просмотров 26 тыс.
git rebase - Why, When & How to fix conflicts
9:45
Просмотров 52 тыс.
Beginner Git commands you need to know (WITH EXAMPLES)
14:28
Git Tutorial For Dummies
19:25
Просмотров 1,1 млн
Remix Austin Meetup - October 2024
1:01:16
Просмотров 160
Авто уровни Happy Glass level 604 - 606
00:49