Giter Site home page Giter Site logo

jacquelinelala / class2015-websystem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from class2015-websystem/class2015-websystem

0.0 1.0 0.0 19.87 MB

Web工程与系统大作业!

License: MIT License

JavaScript 88.87% CSS 6.55% Handlebars 0.58% HTML 3.37% XSLT 0.12% Objective-C 0.51%

class2015-websystem's Introduction

Tasks Wiki链接

Team Member 贡献记录

飞机


基本配置

先配置好你的git config
name 和 email 填写 Github 的帐号和邮箱!

$ git config --global user.name "Your Name"
$ git config --global user.email "[email protected]"

Fork And Send Pull Requst基本流程

点击右上角的 fork
然后 clone 你 fork 后的仓库(在你个人主页的repository里面),下面以我的为例:

git clone [email protected]:fjswhl/class2015-websystem.git

进入到仓库的PR-test文件夹, 在里面新建一个文件:学号.txt,然后提交并 push(以后你可以对自己 fork 后的仓库随意 push)

git add -A  
git commit -m "wip"  
git push origin master  

然后进入本项目主页的Pull Request页面,点击New Pull Request, 选择你自己的分支 点击 create pull request,这样就 OK 了,

怎样把fork后的仓库和主仓库保持同步?

新添加一个名为 upstream的 remote 指向公共仓库

这行命令只需要运行一次

git remote add upstream https://github.com/Class2015-WebSystem/class2015-websystem.git

以下的命令每次同步都要执行
另外推荐使用SourceTree, 会自动和主仓库同步

从公共仓库获取 master 分支

git fetch upstream

合并分支,如果有冲突的话,可以用sourcetree之类的客户端手动解决冲突

git checkout master
git merge upstream/master

class2015-websystem's People

Contributors

fjswhl avatar yhquan avatar ceruleanacg avatar emagrorrom avatar jacquelinelala avatar kingveda avatar qq523407234 avatar xylollipop avatar

Watchers

James Cloos avatar

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.