git push -f <remote> <branch>
git push -f origin master
git push -f <remote> <branch>
git push -f origin master
Super! Thank you kindly
works for me. Thank you
Thanks, I always forget this
Google goes right here :)
It did save my work!
Nice, worked great! Example: git push -f https://github.com/aheze/YourRepo main
thanks
Thank you. Always useful just in case.
Thank you, really needed this.
I really appreciate it. :) Stay connected here on GH .... I've just back to your profile and follow you and will learning something for sure
@Ndinyo @cgsdesign @BlackGlassSkin @aheze @lifeeric @ericksa @bigOconstant @SwedhaBalasubramanian @arhoy @realJema
"Instead of better glasses, your network gives you better eyes." -- Ronald Burt
Regards,
Kemal
Easy and smooth... Thanks
thanks
Thank you. It's works for me also. Good Job!
[Hack] easy way is to change url directly from the source code,
open .git/config
file in your favorite editor or nano
, vim
.
$ nano .git/config
and change the url = [email protected]:lifeeric/uploadToS3.git
your repo url:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = [email protected]:lifeeric/uploadToS3.git # here paste your url
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = origin
merge = refs/heads/main
[pull]
rebase = false
Hope you like it. thank you!
Nyce, was useful to me.