How to resolve the Git issue - There is no tracking information for the current branch
Last modified: May 24, 2024
The following error typically means that the current branch in your Git repository is not linked to any remote branch.
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> master
To avoid this error, you need to make sure you have made an initial commit to your empty local repository using the following commands:
git commit --allow-empty -m initial
git push
Was this page helpful?
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for MySQL.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.