How to add code to your repository | GitHub beginner tutorial
78K views on YouTube
Getting starting on GitHub means understanding the GitHub flow and how to use it to add code to our repository. The GitHub flow is a way of using GitHub to share resources with others and work collaboratively. It all starts with cloning a repo, creating a branch, committing those changes (whether on Desktop or in the terminal), opening a pull request, and then merging to the main branch. But, don’t forget to delete the branch after.
▬▬▬▬▬▬ WANT TO LEARN MORE? 🚀 ▬▬▬▬▬▬
https://docs.github.com/en/get-started/using-github/github-flow
https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
▬▬▬▬▬▬ TIMESTAMPS ⌚ ▬▬▬▬▬▬
00:00 Introduction
00:16 How to clone your repository
00:45 How to create a new branch for your repo
01:34 How to use GitHub Desktop to add code to your repository
02:41 Commit changes in GitHub Desktop
03:12 Add Javascript and HTML files
03:42 Check status with `git status`
04:21 Push code to github.com
04:30 Open a pull request
04:57 `git pull to bring changes to local branch
Stay up-to-date on all things GitHub by connecting with us:
YouTube: https://gh.io/subgithub
Blog: https://github.blog
X: https://twitter.com/github
LinkedIn: https://linkedin.com/company/github
Insider newsletter: https://resources.github.com/newsletter/
Instagram: https://www.instagram.com/github
TikTok: https://www.tiktok.com/@github
About GitHub
It’s where over 100 million developers create, share, and ship the best code possible. It’s a place for anyone, from anywhere, to build anything—it’s where the world builds software. https://github.com