I have two branches in our repository.
master
dev
I got checkout from my dev branch. (#git checkout -b origin/dev
) And I did some development locally. I want to commit that changes to that dev branch.
I tried.
#git add .
#git commit -m "aa"
# git push
But getting fatal error. repository 'https://github.com/lobdev/eps-portal.git/' not found
When trying status
# git status
I get
On branch dev
Your branch is ahead of 'origin/dev' by 2 commits.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
How can I commit to the dev branch?
I tried ;
#git remote show origin
And getting;
* remote origin
Fetch URL: https://github.com/lobdev/eps-portal.git
Push URL: https://github.com/lobdev/eps-portal.git
HEAD branch: master
Remote branches:
dev tracked
master tracked
Local branch configured for 'git pull':
dev merges with remote dev
Local ref configured for 'git push':
dev pushes to dev (fast-forwardable)