| Feb | MAR | Apr |
| 03 | ||
| 2020 | 2021 | 2022 |
COLLECTED BY
Collection: Save Page Now
@ before their username. Users in an organization on GitHub can also be a part of a team that can be mentioned.
git checkout on the command line to create a new branch, change your current working branch to a different branch, or even to switch to a different version of a file from a different branch with git checkout [branchname] [path to file]. The "checkout" action updates all or part of the working tree with a tree object or blob from the object database, and updates the index and HEAD if the whole working tree is pointing to a new branch.
git cherry-pick command to extract the change introduced by an existing commit on another branch and to record it based on the tip of the current branch as a new commit.
main, and is often the default branch.
git fetch, you're adding changes from the remote repository to your local working branch without committing them. Unlike git pull, fetching allows you to review changes before committing them to your local branch.
.git file, which is always at the root of a working tree and points to the Git directory, which has the entire Git repository and its meta data. You can view this file for your repository on the command line with git rev-parse --git-dir. that is the real repository.
main is created, and becomes the active branch. In most cases, this contains the local development, though that is purely by convention and is not required.
master is created. Many tools now use an alternative name for the default branch. For example, when you create a new repository on GitHub the default branch is called main.
git revert.
branch. and branch.. If the ups tream branch of A is origin/B sometimes we say "A is tracking origin/B".
Want to learn about new docs features and updates? Sign up for updates!
We're continually improving our docs. We'd love to hear how we can do better.
Thank you! Your feedback has been submitted.