Войти
  • 207Просмотров
  • 1 месяц назадОпубликованоPat Spizzo

Git Basics in 15 Minutes: From Zero to GitHub Hero

Learn Git and GitHub from scratch in just 15 minutes! This hands-on tutorial covers everything you need: no fluff, no theory overload, just the essential commands you'll use every day as a developer. Perfect for beginners or anyone who needs a quick, practical refresher. Useful commands: 🌟 git config --global main ~~~ set default branch to "main" for new repos 🌟 git init ~~~ create new local repository 🌟 git branch ~~~ list branches 🌟 git checkout -b new_branch ~~~ create a new branch named "new_branch" and switch to it 🌟 git add ~~~ mark a file for addition to a commit 🌟 git commit -m "Commit message" ~~~ commit the added files/modifications to the version history 🌟git clone remote-url-goes-here ~~~ Copy a remote git repository to your local system, along with the full version history for the default branch