LoginSignup
1
1

More than 5 years have passed since last update.

gitの使い方

Last updated at Posted at 2018-08-19

gitのインストール


webからする
開いて
いろいろする

git bashを使う


ユーザーとかの設定

git init
gitを作る

git add urls.py
追加する

git commit urls.py --message 1
コミットする

git reset url.py --hard id名
コミットに戻す

git log
確認

rm -rf .git
git削除

git branch bra_1
ブランチ作成

git checkout bra_1
ブランチ移動で内容変更

git diff --stat
変更したファイルを表示

git add -u
変更ファイルのみadd

git commit . --message 2
コミットする

1
1
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
1
1