github-book / first-pr Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://github-book.github.io/first-pr/
Home Page: http://github-book.github.io/first-pr/
GitHub実践入門の第8章「Githubと連携するツールとサービス」の「8.3 Coveralls」に.coveralls.ymlの記述内容が書かれています。具体的には以下。
service_name: travis
repo_token: xxxxxyyyyyzzzz
しかしhttps://coveralls.io/docs/ruby などを見るとrepo_tokenに関して"This is only needed for repos not using a CI and should be kept secret..."等と書かれているので、Travis CIと連携する場合には不要では無いでしょうか。
また、service_nameに関しても"This can be any string, but using travis-ci or travis-pro will allow Coveralls to fetch branch data, comment on pull requests, and more."とあるので、travis-ciとかの方が例としては相応しいかと思います。
hello
def sample
puts "Hello, Github!"
end
2019/06/08現在、GitHub実践入門の P132 のリモートブランチの作成でgit push origin work
するとエラーになります。
$ git push origin work
To https://github.com/hogehoge/first-pr.git
! [rejected] work -> work (non-fast-forward)
error: failed to push some refs to 'https://github.com/hogehoge/first-pr.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
原因は、すでに origin/work が存在する為だと思います。多分・・・。
フォーク後に、以下の操作で回避できます。
①「4 branches」とあるリンクボタンからブランチの一覧を表示。
②「work」とあるブランチの欄の右端にある赤いゴミ箱ボタンを押す。
これで、自分のとこにある既存の origin/work を消すことができます。
この状態で、git push origin work
すれば、書籍記載の通りに作業継続できます。
※消すのが怖い人へ
ここで消すことが可能なのは、あくまで自分のとこにあるブランチなので、何か誤った操作をして他の人に影響がでることはないので、自信を持ってどうぞ。
皆様が参照することになるフォーク元の github-book 上にある work ブランチは、権限がないので消せないから大丈夫です。
心配な方は、github-book 上で「4 branches」をクリックしてみてください。
一覧は表示されますが、赤いゴミ箱ボタンが表示されなくて消せないことが確認できます。
READMEに書いてあるように、コンフリクトを解決してマージしたらいいのに。
hello
P.34 注5 http://blog.2310.net/archives/6 のサイトが見つからないようです 😢
bla
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.