[Kevin Stratvert] Git and GitHub Tutorial for Beginners

🎯 Загружено автоматически через бота: 🚫 Оригинал видео: 📺 Данное видео принадлежит каналу «Kevin Stratvert» (@KevinStratvert). Оно представлено в нашем сообществе исключительно в информационных, научных, образовательных или культурных целях. Наше сообщество не утверждает никаких прав на данное видео. Пожалуйста, поддержите автора, посетив его оригинальный канал. ✉️ Если у вас есть претензии к авторским правам на данное видео, пожалуйста, свяжитесь с нами по почте support@, и мы немедленно удалим его. 📃 Оригинальное описание: In this step-by-step tutorial, learn how to use Git and GitHub for source control management (SCM). We start with Git. What is it? How you can get it running on your system, and how you can start working with it? Then we look at , a platform for hosting and collaborating on Git repositories. By the end of this video, you’ll be well on your way to using Git and GitHub. If you’d like to follow along, I’ve included sample files down below. 📚 RESOURCES - Sample files to follow along: !AmxrofZZlZ-whOIll3D3rv-iWMxqYw?e=JsqfMu - Official Git web site: - Official web site: - Git and cheat sheet: - Git Reference Manual: - Git Overview Book: - Sample ignore files: - Terminal: ⌚ TIMESTAMPS Introduction What is Git? Get Git Configure Git Get help Initialize repository Git status Track and untrack files Ignore files with .gitignore Track all files / add to staging Commit Change files and view differences Bypass staging and commit Delete / remove files Restore files Rename files View commit history with git log Amend commit View changes in commits Reset to previous commit Rebase git repository Branches Merge branches Delete branch Merge conflicts Typical Git flow Set up GitHub account Create new cloud repository Push local repo to GitHub Working with files Edit repo details Issues Pull requests Actions, Projects, Wiki, Security, Insights, Settings Releases Fetch and pull Wrap up 🖥️ GIT COMMANDS CHEAT SHEET Set configuration values for your username and email git config --global YOUR NAME git config --global YOUR EMAIL Set default branch to main git config --global branch main Get help on a command git help COMMAND git COMMAND -h Initialize a new git repository git init Clone a repository git clone REPOSITORY URL Add a file to the staging area git add FILE Add all file changes to the staging area git add --all git add -A git add . Check the unstaged changes git diff Commit the staged changes git commit -m “MESSAGE“ Reset staging area to the last commit git reset Check the state of the working directory and the staging area git status Remove a file from the index and working directory git rm FILENAME Rename a file git mv (OLD NAME) (NEW NAME) List the commit
Back to Top