我是Git的新手,已经设置好并创建了我的第一个存储库.我正在尝试添加README作为第一个提交,我一直在http://help.github.com/create-a-repo/上完全遵循这些步骤,但我仍然坚持这一步:
git push -u origin master
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
ERROR: username/Hello-World.git doesn't exist. Did you enter it correctly?
Run Code Online (Sandbox Code Playgroud)
我认为这是因为我得到了git remote add
错误的命令:我忘了替换我的用户名和存储库名称.用正确的参数重试它给了我:
$ git remote add origin git@github.com:christineh/Hello-World.git
fatal: remote origin already exists.
$ git push -u origin master
Enter passphrase for key '/Users/christinehorvat/.ssh/id_rsa':
ERROR: username/Hello-World.git doesn't exist. Did you enter it correctly?
fatal: The remote end hung up unexpectedly'
Run Code Online (Sandbox Code Playgroud)
我怎样才能清理它并获得正确的遥控器?
在iPad上查看时,我的背景图像并未跨越浏览器的整个宽度.这已经发生了不止一次,所以它一定是我编写CSS的方式.
这是一个页脚的例子,其bg图像在iPad上停止了大约70% - 它有三列浮动.
我把完整的项目放在这里:https: //github.com/christineh/TJ-portfolio
HTML:
<footer>
<div class="footer_invs">
<div class="footer">
<h1></h1>
<p></p>
</div>
<div class="footer">
<h1></h1>
<img src="" width="32" height="32" border="0">
</div>
<div class="footer3">
<h1></h1>
<img src="">
</div>
</div>
</footer>
Run Code Online (Sandbox Code Playgroud)
CSS:
footer {
background: url(images/footer/background.jpg) repeat-x;
width: 100%;
height: 113px;
margin-top: 250px;
overflow:hidden;
overflow-x:hidden;
}
.footer_invs {
background: url(images/footer/corner.png) no-repeat 186px 0px;
width: 1018px;
height: 78px;
padding-left: 200px;
padding-top: 32px;
}
.footer {
float: left;
width: 275px;
}
.footer h1 {
padding-bottom: 8px;
}
.footer p …
Run Code Online (Sandbox Code Playgroud)