Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
September 16, 2022 12:43 pm GMT

Map the branch

Check for the existence of a branch mapping, the following warning will appear if the mapping does not exist.
There is no tracking information for the current branch.Please specify which branch you want to merge with.See git-pull (1) for details.   git pull <remote> <branch>   If you wish to set tracking information for this branch you can do so with:   git branch --set-upstream-to = origin / <branch> branchname
Checkout the branch where you want to create the mapping.
git checkout branchname
Tell the upstream which branch is mapping.
git branch --set-upstream-to = origin / branchname branchname

From now on, instead of always informing the origin such as: git pull origin master, you will only request: git pull, as the branch is already mapped


Original Link: https://dev.to/edsonjuniornarvaes/map-the-branch-4fm9

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To