Git Basics
Fall 2023 | Richie Sun
Last updated
Was this helpful?
Fall 2023 | Richie Sun
Last updated
Was this helpful?
For more information, check out the
Pulls changes from a remote repository into the current branch. If the current branch is behind the remote, then by default it will fast-forward the current branch to match the remote.
Displays paths that have changes between your local repository and the HEAD of the remote repository
This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit. To stage all changes, use git add .
Create a new commit containing the current contents of the index and the given log message describing the changes.
Updates the main branch of the remote repository based on the last local commit
Lists all existing branches; the current branch will be highlighted in green and marked with an asterisk