zoukankan      html  css  js  c++  java
  • git的使用以及github

    现在公司使用的是svn,然而,技多不压身,现在学习一下github

    http://blog.csdn.net/llf369477769/article/details/51917557这篇博客总结的很详细,但是有一个小小问题,就是,当我push本地仓库时,出现了错误

    ! [rejected] master -> master (fetch first)
    error: failed to push some refs to 'git@github.com:YZJTMAC/VideoPlayer'
    hint: Updates were rejected because the remote contains work that you do
    hint: not have locally. This is usually caused by another repository pushing
    hint: to the same ref. You may want to first integrate the remote changes
    hint: (e.g., 'git pull ...') before pushing again.
    hint: See the 'Note about fast-forwards' in 'git push --help' for details.

    这是因为我本地没有README.md这个文件的原因,百度了一下,加上一句

    git pull --rebase origin master

    解决!

    以后有关git有关的东西我都会保存在这里

    进入不同的仓库http://blog.csdn.net/dengjianqiang2011/article/details/9260435

  • 相关阅读:
    索引有什么用?
    数据类型的优化策略?
    MySQL的锁策略有什么?
    行锁
    Innodb_lock_waits
    Innodb_locks表
    软件安装笔记
    Spring Boot学习笔记
    AI学习总结
    笔试面试题总结
  • 原文地址:https://www.cnblogs.com/yzjT-mac/p/6097705.html
Copyright © 2011-2022 走看看