How to Install and Configure Git and GitHub on Ubuntu 22.04 LTS (Linux)
HTML-код
- Опубликовано: 4 июн 2023
- Learn how to install and configure Git and GitHub on Ubuntu (Linux) with this comprehensive tutorial. #Git #GitHub #Ubuntu #LinuxTutorial
Set Up Git:
git config --global user.name "Your Name"
git config --global user.email "youremail@domain.com"
other commands
git clone (url)
git add (file names)
git commit -m "(committed message)
git push -u origin main
git remote add origin main (url)
FIX: "Support for password authentication was removed. Please use a personal access token instead."
git clone tokenhere@github.com/user_name/repo_name.git
Git is a popular version control system used by developers to track changes in their code repositories. GitHub, on the other hand, is a web-based platform that provides hosting for Git repositories and offers additional collaboration features.
In this tutorial, you will discover the step-by-step process of installing and configuring Git and GitHub on Ubuntu. Whether you are a beginner or an experienced developer, this tutorial will provide you with the knowledge and skills to effectively use Git and GitHub in your projects.
The tutorial covers topics such as:
1. Installing Git: You will learn how to install Git using the package manager on Ubuntu. We will guide you through the installation process, ensuring that you have Git up and running on your system.
2. Configuring Git: After installation, you will understand how to configure Git with your username and email address. This configuration is essential for properly attributing your commits.
3. Setting up GitHub: You will explore the process of creating a GitHub account and configuring Git to work with GitHub. This includes generating SSH keys, adding them to your GitHub account, and establishing the connection between your local Git repository and GitHub.
By the end of this tutorial, you will have a solid understanding of how to install and configure Git and GitHub on Ubuntu. You will be ready to start using Git for version control and collaborate with others using the powerful features of GitHub.
Join us in this tutorial and take your development workflow to the next level with Git and GitHub! #VersionControl #Collaboration #DevOps #SoftwareDevelopment
Git is a distributed version control system. This video shows How to Get Started with Git and Github and teaches The Basics of Git and GitHub.
Version Control ? - Version control systems are a category of software tools that help a software team manage changes to source code over time.
What is GIT? - By far, the most widely used modern version control system in the world today is Git. Git is a mature, actively maintained open source project originally developed in 2005
Why GIT? - Relying on software for mission-critical applications, altering your development workflow impacts your entire business. Git isn’t just for agile software development-it’s for agile business.
Most simple install/configure method I've seen by far. Thank you!!!
Best tutorial on Git. Very easy to understand and up to the point, unlike others who make it look too complex.
everything went well !!! thank you !
Thank you very much for posting this tutorial, it is very clear and concise to get started with Git/GitHub and is greatly appreciated. Thanks!!
man! i love you, i was struggling on making my first repo in git, always was going wrong, your video saved me! thanks a lot!
Was looking for a solution and this worked for me. Thanks a lot friend. Thumbs up
Excellent tutorial
*KEEP UP THE GOOD WORK, VERY INFORMATIVE*
Hablas ingles muy bien!! Es la primera vez que entiendo todo un vídeo en idioma ingles, muchas gracias!!
Hello from Brazil ! now i'm understand why learning english is a very very important for my software engineer career.....
Thank u, the video really helps a lot
Thank you so much! Nice video!
Very informative video. Thanks
Thanks alot for this tut, can you also make a video on the same but using ssh instead of https?
Best tutorial. Everything done very smoothly. Thank You sir.
Thank you, very helpful!
VERY THANK YOU!!!!
SUPER USEFUL THANK YOU!
Easy to follow and understand! Thanks!
You're amazing!!!!!!!!!!!!!! TYVM my friend!! 😍
Nice. Thanks.
You helped me - thumbs-up. Just a quick update for the video, though: they must have added "Push protection", which scans for anything that looks like a password in files you are trying to push. If they find it, the push is rejected. You can override this from user's Settings (top right, icon where you click for Profile) > Settings > Code security and analysis > under User and against "Push protection for yourself" click Disable.
very helpful thanks.
Excellent! Thanks.
Do we have to configure everytime for each repository?
WHEN I RUN THE FIRST COMMAND IT SHOWS USER IS NOT IN SUDOER S FILE???
Thank you brother.
Thank you so much.
Sir, This will work, but it has some security risks and disadvantages:
1. Security Risks: If we ever accidentally print your remote URLs (for example by running git remote -v), our token will be exposed. It's especially risky if we're in a screen-sharing situation, or if our terminal history is accessible to others.
2. Inconvenience: we would need to include the token every time you clone a repository or set a remote URL. This can be cumbersome, particularly if we are working with many repositories.
3. Token Expiry/Revocation: If your token ever expires or is revoked for any reason, you'll need to update all the places where we've hard-coded the token
Could you make video on how to use git credential helper in Ubuntu?
So, is there a better alternative to this?
I had been using git credential manager since but it is kinda unreliable.
OH man Thank you very much
THANK YOU VERY MUCH OMG. I'VE BEEN SEARCHING HOW TO SOLVE THIS UBUNTU PROBLEM FOR 2 WHOLE DAYS.
thank you homie
Hi, im getting issues. This doesnt work if im running ubuntu on a virtual machine it seems.
@8:20 when i clone my repo, it doesn't work. Weird thing was, they asked for my github username and password, i gave them and the error was: "support for password authentication was removed on August 13, 2021".
Thanks a lot
Many thanks, pknowledge
great video
ik i didn't get everything alot of things are just watch and do for me
but i know i'll make it with decent practice || those things are not something u'll master in just one shot
don't get overwhelmed just do it
is the authentication issue only for Linux ? I havent observed it when using Windows ..........
thank you!
I get this error. Your push would publish a private email address.
Very clear explanation sir...
But I didn't understand how to get the URL @16:38
Can you plz explain...
it just isnt working for me
why not just setup ssh?
How , teach us plz
фигня, не работает
shit