gitコマンドの短縮設定
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
** 動機 [#c36fd723]
Macを新調した際にgitの短縮コマンド設定のやり方を忘れてい...
** 設定 [#q2bb7f1d]
» git config -e
[alias]
st = status
co = checkout
viコマンドで編集できる。保存
** use [#f9c25865]
» git st
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be commit...
(use "git restore <file>..." to discard changes in wor...
modified: s61/index.php
modified: s61/person.php
no changes added to commit (use "git add" and/or "git co...
» git co -b test
Switched to a new branch 'test'
» git co -
M s61/index.php
M s61/person.php
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
こんな感じで使う
便利。
** 編集者 [#i31f0de9]
藤井 穣: yutaka@worldcraft.co.jp
終了行:
** 動機 [#c36fd723]
Macを新調した際にgitの短縮コマンド設定のやり方を忘れてい...
** 設定 [#q2bb7f1d]
» git config -e
[alias]
st = status
co = checkout
viコマンドで編集できる。保存
** use [#f9c25865]
» git st
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be commit...
(use "git restore <file>..." to discard changes in wor...
modified: s61/index.php
modified: s61/person.php
no changes added to commit (use "git add" and/or "git co...
» git co -b test
Switched to a new branch 'test'
» git co -
M s61/index.php
M s61/person.php
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
こんな感じで使う
便利。
** 編集者 [#i31f0de9]
藤井 穣: yutaka@worldcraft.co.jp
ページ名: