I'm working on GIT repository. I have the project code on my local machine.
I have created a repository in Bitbucket, Now I want to push all my code into this repository.
for that, I follow all commends mentioned below
git init
git config --global user.name "Siddhu"
git config --global user.email "[email protected]"
git config --list (to check configuration)
git add --all
git status (to check status)
git remote add origin MY_REPO_LINK
git commit -m "my first commit"
All above commands work fine. When I try to Push. I'm getting error
error: cannot spawn git: Function not implemented
my command is: git push -u origin master
I'm working on windows 7 machine. I did some research But I didn't find any solution. How can I solve this issue? Thanks in advance
I think I need to install older version
According to the official instructions and some other answer you should try
git push -u origin --all
for the first time.
This depends on how you created the BitBucket repository though, so this overview gives you some choices on how to procede.
I assume this has to do with bare repositories.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With