LoginSignup
2
4

GitHub の操作になかなか慣れない。

<この項は書きかけです。順次追記します。>

原因はいくつか

  1. 自分が中心になって設計しているオープンソースの案件がない
    1.1 自分が中心になって設計している言語がない
    1.2 自分が中心になって設計しているOSがない
    1.3 自分が中心になって設計している通信規約がない。

  2. オープンソースで分岐して提案したい案件がうまく動かない
    2.1 コンパイルがうまくいっておらず、githubにあげる状態になっていない
    2.2 githubの操作を間違えて、ぐちゃぐちゃになっている
    2.3 言語、OS、通信規約がどちらへ進むべきかの考えがぐらついている

  3. 操作の基本的な考え方を理解していない
    3.1 GUIだけで操作する場合の流れ
    3.2 issueをあげる粒度について
    3.3 データの管理方法について

ひょっとしたらhello world projectをやってないからかもしれないと試してみようと思った。

他にも、すぐに使わない機能の説明、今やらなくてもいいことの説明など、始めるのに必要なこと以外の説明があるからかもしれない。

始めるのに最小限の「hello-world」の最初の部分だけを実行してみる。

GitHub こんにちは、みんな事業

hello world project
https://guides.github.com/activities/hello-world/

「こんにちは、みんな」事業は、計算機計画の由緒ある伝統である。
何か新しい事を学びはじめる簡単な例である。
さあ、GitHubで始めよう。
勉強の仕方は

  1. 倉庫・室(repository)を作って使おう
  2. 新しい枝(branch)を作って、管理(manage)しよう
  3. 書類(file)を変更(change)し、GitHubに確約(commits)として登録(push)しよう
  4. 取出し依頼(pull request)を公開(open)し、混ぜ合わせ(merge)よう

The Hello World project is a time-honored tradition in computer programming. It is a simple exercise that gets you started when learning something new. Let’s get started with GitHub!
You’ll learn how to:
Create and use a repository
Start and manage a new branch
Make changes to a file and push them to GitHub as commits
Open and merge a pull request

###GitHubは何か
版管理(version control)と協働(collaboration)できる符号(code)宿主(host)土台(platform)です。あなたと他の方が、どこからでも事業で一緒に働けます。GitHubの部屋(repository), 枝(branch), 確約(commit), 取出し依頼(pull request)のような要素(essentials)を指導(tutorial teach)します。あながが自分の「こんにちは、みんな」室を作って、取出し依頼(pull request)の流れ(workflow)、符号を作ったり見直す流行り(popular)の方法(way)を学ぼう。

What is GitHub?
GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
This tutorial teaches you GitHub essentials like repositories, branches, commits, and Pull Requests. You’ll create your own Hello World repository and learn GitHub’s Pull Request workflow, a popular way to create and review code.

###符号化不必要
この指導を完了するのに、あなたが必要なのは、GitHub.com口座(account)と網接続(Internet access)です。符号化の方法や、命令(command line)を使ったり、Git(版管理ソフトGitHubが組み込んでいる)の導入(install)は必要ありません。
助言:指導の段階を完了するために、この解説を見えるように別の閲覧窓(札)を開きなさい。

No coding necessary
To complete this tutorial, you need a GitHub.com account and Internet access. You don’t need to know how to code, use the command line, or install Git (the version control software GitHub is built on).
Tip: Open this guide in a separate browser window (or tab) so you can see it while you complete the steps in the tutorial.

第1段:部屋を作る

一つの事業を始めるのに一つの部屋を作る。部屋には、あながた必要な紙挟(folder)、書類(file)、画像(image)、動画(movie)、表(spreadsheet)、与件集合(data set)を置けます。私たちは「読んで」を含むか、あなたの事業のお知らせを置くことを推奨します。GitHubは新しい部屋を作る時に簡単にそれらを加えることができます。許諾書類のような共通の選択肢を提供します。
あなたの「こんにちは、みんな」室は、考え、資源または他の人と分け合い、議論する事を置くことができます。

Step 1. Create a Repository
A repository is usually used to organize a single project. Repositories can contain folders and files, images, videos, spreadsheets, and data sets – anything your project needs. We recommend including a README, or a file with information about your project. GitHub makes it easy to add one at the same time you create your new repository. It also offers other common options such as a license file.
Your hello-world repository can be a place where you store ideas, resources, or even share and discuss things with others.

新しい部屋を作る

右上の隅で、あなたの化身または識別子の次の「New repository」を選びマウスの右ボタンを押します。
部屋に「hello-world」名をつけます。
短い記述を書きます。
「Initialize this repository with a README」(REAMEのあるこの部屋を初期化する)を選びます.
「Create repository」(部屋を作る)をマウスの右ボタンを押します。

kaizen-nagoya/hello-world
https://github.com/kaizen-nagoya/hello-world

To create a new repository
In the upper right corner, next to your avatar or identicon, click and then select New repository.
Name your repository hello-world.
Write a short description.
Select Initialize this repository with a README.
Click Create repository.

補足(additon)

上記URLでは、「Create repository」した後、
「README.md」(私を読んで.)を選び
文章の右上の鉛筆の印を選び、

「 Commit directly to the master branch.」
を選択している状態で
「Commit changes」
を選ぶ。

参考資料(reference)

GitHubチュートリアル-Hello Worldプロジェクト-
https://qiita.com/Rashyn/items/8a789f75437b880966e6

https://qiita.com/kemkem225/items/194af23ba7c0d5a40d62
GitHub の Hello World プロジェクトをやってみる

GitHub 上でサクッと空のディレクトリを作成する方法
https://qiita.com/tommy_aka_jps/items/b2ae85cbeab77e12a925

自己参照資料(self reference)

GitHub入門 (2) ソースとスクリプトを上げてみる。
https://qiita.com/kaizen_nagoya/items/c6a54925fd3510dc0710

今日のclang error: unknown argument と invalid value https://qiita.com/kaizen_nagoya/items/abcffef21280a98dc817

GitHub から Qiita への貼り付け
https://qiita.com/kaizen_nagoya/items/38a3f1789edba9682e7b

Github archive programって何ですか?
https://qiita.com/kaizen_nagoya/items/27cb1a6e3529a71b18a9

作成中

kaizen-nagoya/xtuml
https://github.com/kaizen-nagoya/xtuml

kaizen-nagoya/way_to_quantum_computer
https://github.com/kaizen-nagoya/way_to_quantum_computer

kaizen-nagoya/posix
https://github.com/kaizen-nagoya/posix

kaizen-nagoya/arxiv_tools
https://github.com/kaizen-nagoya/arxiv_tools

kaizen-nagoya/CPPN4830
https://github.com/kaizen-nagoya/CPPN4830

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>

文書履歴(document history)

ver. 0.01 初稿 20190901 午後
ver. 0.02 注釈追記 20190901 夕
ver. 0.03 英日順番入れ替え 20190902 朝
ver. 0.04 空のフォルダ作成 20191012
ver. 0.05 参考資料追記 20210725
ver. 0.06 ありがとう追記 20230503

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4