目前分類:git (5)

瀏覽方式: 標題列表 簡短摘要

1.開啟git bash 

git config --global user.name "your username"
git config --global user.email "your email address"

JBLin 發表在 痞客邦 留言(0) 人氣()

local git tag 不能同步 cloud tag

先刪除本地的tag再重新拉取

JBLin 發表在 痞客邦 留言(0) 人氣()

 basename -s .git `git config --get remote.origin.url`


JBLin 發表在 痞客邦 留言(0) 人氣()

1.對著要還原的commit點右鍵->reset current branch to this commit
->Mixed - keep working copy but reset index(移動index 但是 程式碼不會更動)

JBLin 發表在 痞客邦 留言(0) 人氣()

1.打開git bash
2.設定name

JBLin 發表在 痞客邦 留言(0) 人氣()