Git Course + Certificate | W3Schools Learn Git and work with code the way developer teams do: commits, branches and merges Exam and certificate included Self-paced
Log in - W3Schools Profile pages Get access to all Hero plan features such as a Dashboard, Progress Tracking, Assessments, Build and host websites, Code Challenges, and much more Your plan can be changed at any time
Git Reset - W3Schools Git Reset --mixed (default) git reset --mixed <commit> (or just git reset <commit>) moves HEAD to the specified commit and unstages any changes, but keeps them in your working directory This is the default option and is useful if you want to "undo" a commit but keep your changes for editing or recommitting
Git Workflow - W3Schools Git uses a distributed workflow that allows you to work on your code, stage changes, and commit them to your local repository before sharing with others Understanding this workflow is essential for effective version control
Git GitHub Getting Started - W3Schools Get Started with GitHub Welcome! This page will guide you through the first steps of using GitHub for version control and collaboration
Git Push to Remote - W3Schools Git Push to GitHub When we have made changes locally, we want to update our remote repository with the changes Transferring our local changes to our remote is done with a push command There are several commands we can use to push changes to GitHub
Git Pull from Remote - W3Schools Git Pull But what if you just want to update your local repository, without going through all those steps? pull is a combination of fetch and merge It is used to pull all changes from a remote repository into the branch you are working on Make another change to the README md file on GitHub Use pull to update our local Git:
Git Branch - W3Schools In Git, a branch is like a separate workspace where you can make changes and try new ideas without affecting the main project Think of it as a "parallel universe" for your code