I deleted some of files in local repository and edited few of them. I do checkout eaworker-eps-hk2. After that when I do git status it shows :
git status
On branch eaworker-eps-hk2
Your branch is ahead of 'origin/eaworker-eps-hk2' by 2 commits.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
Also when I do following steps:
git add -A
git commit -m "deleted and edited"
git push -u origin master
It give error :
git push -u origin master
error: src refspec master does not match any
error: failed to push some refs to 'https://bitbucket-eng-sjc1.cisco.com/bitbucket/scm/ngise/dcs.git'
I tried without -u
and using --force
but they didn't worked either and gave same error.