Answers for "push to remote origin"

12

show remote git

# If you require full output and you are on a network that can reach the remote repo where the origin resides 
git remote show origin
Posted by: Guest on March-23-2020
2

git push origin

git branch -M main

then

git push -u origin main

or 

git push -f origin main

or 

git push origin master --force
Posted by: Guest on March-16-2021
5

show remote git

# when you are not connected to the network, you can use this
git config --get remote.origin.url
Posted by: Guest on March-23-2020
1

git push remote

git push -u origin master // where 'master' is branch name
Posted by: Guest on March-18-2021

Code answers related to "push to remote origin"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language