会社にある本などで理解しておくこと。
- git init
- git add
- git commit
- git status
- git checkout
- git diff
alias ga='git add'
alias gc='git commit -v'
alias gd='git diff -w --color'
alias gl='git pull'
alias gp='git push'
alias gs='git status'
alias gst='git stash'
alias gsd='git stash drop'
alias gsp='git stash pop'
alias gss='git stash show --text'
- CUI な Git ブラウザ tig を入れてみた - Born Too Late
- gitのdiffを見やすく表示する - Qiita [キータ]
- Git の diff を美しく表示するために必要なたった 1 つの設定 #git - 詩と創作・思索のひろば (Poetry, Writing and Contemplation)
何かプログラムを書くなら必ず git init。
git がない環境では Gitをソースからコンパイルしてインストールする こと。
一時的な作業をするには git stash を使う。
GitLab で New Project を選ぶと、次にどの git コマンドを叩けばよいか教えてくれます。
Create Repository に従い、GitLab でコードを管理しましょう。
thx