Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git push origin master not working

Possible errors:

1. Origin - you maybe be pushing to the wrong origin.
git set-url origin git@github.com:username/test.git

2. Branch - you may be on the wrong branch. switch to the right branch and then push
git checkout branch

3. Add & Commit - remove to use these commands before pushing
git add .
git commit -m "commit message"
 
PREVIOUS NEXT
Tagged: #git #push #origin #master #working
ADD COMMENT
Topic
Name
6+2 =