Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAaron Selonke
10,323 Pointsfatal: No configured push destination
The remote repository is just another directory (both on the desktop of windows7) Using the Windows-Bash Version of git
Both repositories show eachother when entering the git remote command to list all the linked repositories....
Not sure why'm getting this error
AAro@AAro-PC MINGW64 ~/desktop/firstrepository (new_feature)
$ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
AAro@AAro-PC MINGW64 ~/desktop/firstrepository (new_feature)
1 Answer
Steven Parker
231,236 PointsIt sounds like you have not configured a default remote.
You can set the default upstream with git push -u <remote_name> <local_branch_name>
. See the documentation for git push for more details.
Anders Björkland
7,481 PointsAnders Björkland
7,481 PointsThis solves it. Thank you!