dspinellis/git-issue

im giving errors

delokman opened this issue · 1 comments

hint: See the 'Note about fast-forwards' in 'git push --help' for details.
server@server-System:~/Desktop/pok/scrum-issue$ ^C
server@server-System:~/Desktop/pok/scrum-issue$ clear

server@server-System:~/Desktop/pok/scrum-issue$ git issue init # Initialize issue repository
An .issues directory is already present
server@server-System:~/Desktop/pok/scrum-issue$ git issue list # List open issues
7130fde New issue entered from the command line
server@server-System:~/Desktop/pok/scrum-issue$ git issue git remote add origin git@gitlab.com:livetrader/scrum-issue.git
fatal: remote origin already exists.
server@server-System:~/Desktop/pok/scrum-issue$ git issue git push -u origin master
To gitlab.com:livetrader/scrum-issue.git
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'git@gitlab.com:livetrader/scrum-issue.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
server@server-System:~/Desktop/pok/scrum-issue$ 

It seems you have diverged from the remote repo. You can either clone it again or git push -f to it.