GithubHelp home page GithubHelp logo

-bug's People

Stargazers

夷立松 avatar

Watchers

James Cloos avatar 夷立松 avatar

-bug's Issues

本地上传到github

1、git init
初始化会产生一个.git文件夹
2、git remote add aname [email protected]:
/∗∗.git>类似于给aname赋值就是后面的值,
是我的名字,**是我的代码库名
3、git pull aname master
把这个主分支拉过来
4、此时由于代码库里面只有一个readme所以没冲突,这一步为空(万一不注意 推上去了,碰巧自己GitHub里面的readme也写了东西 一般会冲突 解决下就行了~.~!!)
5、git add .
把文件夹下的所有的文件加载到缓冲区,有的说是index
6、git commit -m “message”
message是你这次提交的备注,比如为啥提交啊,你改了哪里啊等等
7、git push aname master
这一步后才会在服务器上看到你的工程

如果出现错误,提示:fatal: remote origin already exists 则可直接push

如果在执行 git push origin master 时报错:error:failed to push som refs to.......有冲突解决冲突~。~

则可先执行: git pull origin master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.