git 笔记

keytool -importkeystore -srckeystore E:\docs\yilia_sonoeye.jks -destkeystore E:\docs\yilia_sonoeye.jks -deststoretype pkcs12

git log --oneline --decorate --graph --all
git log --cc -p -1
git status -s
cat .gitignore
git diff --staged
git diff-tree -p rack_branch

git rm --cached README

git reflog 命令来了解你曾经做过什么

git remote -v
git remote add

git remote rm

git tag v1.4-lw
git tag

git show v1.4-lw
git tag -d (删除本地标签)

git push origin
git push origin :refs/tags/v1.4-lw (远程删除TAG)

git push origin --delete (的删除远程标签)

git merge --abort

git fetch

git rebase origin/sonoeye_release_0515

git push origin sonoeye_release_0515:sonoeye_release_0515

adb tcpip 8888
adb connect 192.168.110.114:8888

git mergetool --tool=winmerge

$ git che
check-attr -- 显示 gitattributes 信息
check-ref-format -- 检查引用名称是否符合规范
checkout -- 从工作区中检出分支或路径
checkout-index -- 从暂存区拷贝文件至工作目录
cherry -- 查找没有被合并至上游的提交
cherry-pick -- 从一些已存在的提交中应用更改

git apply

git help

git rebase origin/sonoeye_release_0515

git add app/src/main/java/com/chison/android/pu/View/Home/HomeActivity.java

git branch

git fetch origin sonoeye_release_0515

git stash save "[35600]修复用户名换行"

git reset --hard HEAD~1

git reset --soft HEAD~1

git stash save "[35261]未插探头提示修复"

git stash list

git cherry-pick b0443d5d0006088a757f382797ffc2f8a13ae0c7

git fetch origin sonoeye_release_0515

git push origin HEAD -f

git stash list

git stash pop

git stash list
git stash apply stash@{2}
git status

git add .

git status

git commit -m "[35261]未插探头提示修复"

git stash pop

git add .

git commit -m "[35600]修复用户名换行"

git branch

git checkout -b sonoeye_release_0515_qiulian

git push origin sonoeye_release_0515_qiulian -f
git commit -a --amend --no-edit

你可能感兴趣的:(git 笔记)