Agit 缺陷:只能看,不提交,無法用
terminal IDE 優勢:全面支持git的pull、push、commit等
terminal++@127.0.0.1:~$ dropbearkey -t rsa -f ~/.ssh/id_rsa
terminal++@127.0.0.1:~$ dropbearkey -y -f ~/.ssh/id_rsa | grep "^ssh-rsa" >> my_key
#!/bin/sh #location is ~/sssh ssh -i ~/.ssh/id_rsa $*
#!/system/bin/sh #location is ~/sssh ssh -i ~/.ssh/id_rsa $*
export GIT_SSH=~/sssh
git init git remote add origin git@github.com:github用戶名/倉庫地址.git git pull origin master
git commit -a git push origin master
可能git某些操做的時候會有錯誤,由於有軟連接缺失,看什麼錯誤,到「system/bin/」下執行相似 java
ln -s git git-merge的命令就能夠