git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de...

30

Transcript of git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de...

Page 1: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 2: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 3: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 4: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 5: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 6: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 7: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 8: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

Page 10: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 11: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

Page 12: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

Page 13: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 14: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

Page 15: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 18: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

Page 19: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

Page 20: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

Page 21: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 22: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 23: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

touch ~/.bashrc

echo 'alias ga="git add"'>> ~/.bashrc

echo 'alias gc="git commit -v"'>> ~/.bashrc

echo 'alias gl="git pull"'>> ~/.bashrc

echo 'alias gp="git push"'>> ~/.bashrc

echo 'alias gco="git checkout"'>> ~/.bashrc

echo 'alias gst="git status -sb"'>> ~/.bashrc

source ~/.bashrc

Page 24: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

~/.bashrc

alias glog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | less"

Page 25: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 26: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 27: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use

Page 28: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 29: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use
Page 30: git 远程仓库 - static.xiedaimala.com · hick 6b65ec4 pick a8746de TS Rebase c591bfd.. a8746de onto c591bfd (2 command(s)) Commands : message p, x, pick = use commit reword = use