A brief list of issues and ways to resolve when working on linux
Attempting to communicate with the server but this happens eg:
#git remote show origin
(gnome-ssh-askpass:18745): Gtk-WARNING **: cannot open display: localhost:12.0
Yep I do not have a display. Solution;
#unset SSH_ASKPASS
Attempt to push the first version of the repo but this happens:
fatal: HTTP request failed
Turns out that I cut and pasted the code from github to setup the repo which included the line:
#git push -u origin master
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/S-Stephen/RECK.git/info/refsfatal: HTTP request failed
Turns out that I cut and pasted the code from github to setup the repo which included the line:
git remote add origin https://github.com/My-Username/APPNAME.git
This does not include the username I wish to login as I therefor eneed to change this locally to be:
https://My-Username@github.com/My-Username/APPNAME.git
To do this:
# git remote set-url origin https://My-Username@github.com/My-Username/APPNAME.git
And away we go:
I did a #git add * but too much got added including my config/local.js file.
Before the commit remove this:
# git reset config/local.js
No comments:
Post a Comment