0
0

ubuntuのターミナルにGit情報を表示する方法

Posted at
# git操作用のフォルダー作成し移動
casting@casting:~$ mkdir Desktop/test/
casting@casting:~$ cd Desktop/test/

# git管理できる状態にする
casting@casting:~/Desktop/test$ git init

# bash_profileを起動
casting@casting:~/Desktop/test$ source ~/.bash_profile
test (🐒:master) :$ 

bash_profileの変更方法はカメさんの記事をご覧ください。
https://datawokagaku.com/terminal_prompt_git/

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