常用git命令-备记


git checkout -b new-feature
git status
git add .
git commit -m “message for this time”

git push -u origin new-feature

// create pull request on stash web

// delete the new-feature
git branch -D new-feature

// for very large repo
git clone -b –depth=1

// if local is behind
git pull origin master


发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注