新公司是用Git 的
很多同事都是使用Git Bash 來Commit/Pull/Push source 去Bitbucket
由於不太懂Git command的關係
所以我便用Bitbucket的Source Tree..
可能是太多Projects/ Repositories
久不久..我的Source Tree 便出現問題..
之前還試過
以下是一些常用的 Git Command
//用來提取這個repository 的最近資料
git fetch
// 用來checkout branch
git checkout [branch name]
// 用來Pull 最新的 current branch
git pull
// 加 unstage 的 file
git add * // 或一個一個檔案 stage git add FileToStage
// commit
git commit -m "message"
//push
git push
// merge the specific branch to current
git merge develop
這會merge develop branch 到current checkout的branch
暫時分享住這些
有機會再share 其他常用的git command
Hope you find it useful