About 600 results
Open links in new tab
  1. Git - git-branch Documentation

    Tells git branch, git switch and git checkout to set up new branches so that git-pull [1] will appropriately merge from the starting point branch. Note that even if this option is not set, this behavior can be …

  2. Git - Basic Branching and Merging

    Because the commit on the branch you’re on isn’t a direct ancestor of the branch you’re merging in, Git has to do some work. In this case, Git does a simple three-way merge, using the two snapshots …

  3. Git - git-checkout Documentation

    Specifying -b causes a new branch to be created as if git-branch [1] were called and then checked out. In this case you can use the --track or --no-track options, which will be passed to git branch.

  4. Git - git-checkout Documentation

    git checkout -b <new-branch> [<start-point>] Create a new branch named <new-branch>, start it at <start-point> (defaults to the current commit), and check out the new branch.

  5. Git - Branching and Merging

    The git branch command is actually something of a branch management tool. It can list the branches you have, create a new branch, delete branches and rename branches.

  6. Git - git-merge Documentation

    DESCRIPTION Incorporates changes from the named commits (since the time their histories diverged from the current branch) into the current branch. This command is used by git pull to incorporate …

  7. Git - Branches in a Nutshell

    Because a branch in Git is actually a simple file that contains the 40 character SHA-1 checksum of the commit it points to, branches are cheap to create and destroy.

  8. Git - git-clone Documentation

    Clones a repository into a newly created directory, creates remote-tracking branches for each branch in the cloned repository (visible using git branch --remotes), and creates and checks out an initial …

  9. Git - git-pull Documentation

    Various commands, including git checkout and git status, will show you how many commits have been added to your current branch and the upstream since you forked from it, for example "Your branch …

  10. Git - git-switch Documentation

    If you have local modifications to one or more files that are different between the current branch and the branch to which you are switching, the command refuses to switch branches in order to preserve …