GitHubの使い方 Desktopにレポジトリを作ってコミットするまで
Desktopにレポジトリをクローンする
//terminalを開いてDesktopに移動する
$ cd (Desktopのパス)
// Gitクローンする
$ git clone (クローンしたいURL)
完了!
自分の更新を入れてプッシュする。
まず、ローカルのフォルダに自分のコードを入れたり、変更したりする。
そのあと、下記を行う。
※クローンしてすぐpushする場合だけ、しばらく立ってからやる場合は、下の二回目以降のやり方に従ってください。
// ステージングにあげる。これで全ての変更がステージに上がる。
$ git add .
// コミットメッセージを書く
$ git commit -m "コミットメッセージ"
//masterへpush
$ git push origin master
二回目以降
// ステージングにあげる。
$ git add .
// コミットメッセージを書く
$ git commit -m "コミットメッセージ"
//masterからpull
$ git pull origin master
//masterへpush
$ git push origin master
参考
リポジトリをクローンする - GitHub ヘルプ
https://help.github.com/ja/github/creating-cloning-and-archiving-repositories/cloning-a-repository#
ローカルリポジトリをリモートにpushするまで - Qiita
https://qiita.com/sayama0402/items/9afbb519d97327b9f05c
Author And Source
この問題について(GitHubの使い方 Desktopにレポジトリを作ってコミットするまで), 我々は、より多くの情報をここで見つけました https://qiita.com/keitean/items/43bfe444cc4b0e7ddc25著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .