I am getting an error "fatal: unable to access 'https://github.com/link:username/repo.git/': The requested URL returned error: 400" while I try to push some new files to repository. But I can do push on existing files which I pulled from the repository earlier. The problem is with the new files. I am using 'ubuntu 14.04 LTS' and my my commands on terminal are as follows:-
git init git add . git commit -m "made some changes" git remote add origin https://github.com/link:username/repo.git git push -u origin master