Skip to Main Content
foxfirefey (
foxfirefey
) wrote
in
dw_dev_training
2012-08-23 06:27 pm (UTC)
no subject
Yeah, I'm not really sure that is an important error from checkconfig.
So, if you end up trying to push from your Dreamhack, and you used this URL to clone:
git clone
https://github.com/USERNAME/dw-free.git
$LJHOME
Instead of one that has an authentication added to it:
git clone
https://USERNAME@github.com/USERNAME/dw-free.git
$LJHOME
It won't know what to do to authenticate when you try and push changes back--although cloning will have worked just fine! But, you can change the URLs in dw-free and dw-nonfree without having to reclone things by using the remote set-url command:
cd $LJHOME
git remote set-url origin
https://ninetyd@github.com/ninetyd/dw-free.git
$LJHOME
cd $LJHOME/ext/dw-nonfree
git remote set-url origin
https://ninetyd@github.com/ninetyd/dw-nonfree.git
$LJHOME
That way, when you go to push something, it will ask you for a password and you can provide it.
(
74 comments
)
Post a comment in response:
From:
Anonymous
This account has disabled anonymous posting.
OpenID
Identity URL:
Log in?
Dreamwidth account
Account name
Password
Log in?
If you don't have an account you can
create one now
.
Subject
HTML doesn't work in the subject.
Formatting type
Casual HTML
Markdown
Raw HTML
Rich Text Editor
Message
Log in
Account name:
Password:
Remember me
Other options:
Forget your password?
Log in with OpenID?
Close
menu
Log in
Create
Create Account
Display Preferences
Explore
Interests
Directory Search
Site and Journal Search
Latest Things
Random Journal
Random Community
FAQ
Shop
Buy Dreamwidth Services
Gift a Random User
DW Merchandise
Interest
Region
Site and Account
FAQ
Email
no subject
So, if you end up trying to push from your Dreamhack, and you used this URL to clone:
git clone https://github.com/USERNAME/dw-free.git $LJHOME
Instead of one that has an authentication added to it:
git clone https://USERNAME@github.com/USERNAME/dw-free.git $LJHOME
It won't know what to do to authenticate when you try and push changes back--although cloning will have worked just fine! But, you can change the URLs in dw-free and dw-nonfree without having to reclone things by using the remote set-url command:
cd $LJHOME
git remote set-url origin https://ninetyd@github.com/ninetyd/dw-free.git $LJHOME
cd $LJHOME/ext/dw-nonfree
git remote set-url origin https://ninetyd@github.com/ninetyd/dw-nonfree.git $LJHOME
That way, when you go to push something, it will ask you for a password and you can provide it.