• git安装
    由于git的大名气,现有linux基本都已支持源安装,直接yum或者zypper即可,非互联网环境code安装。
  • git全局配置配置文件在/etc/.git
  • git学习资料 https://git-scm.com/book/zh/v2

Git基本常用命令如下:

git init #把当前的目录变成可以管理的git仓库,生成隐藏.git文件。 
git add XX #把xx文件添加到暂存区去。 
git add . #把当前目次下代码参加git的跟踪中,意思就是交给git经管,提交到本地库 
git commit –m “XX” #提交文件 –m 后面的是注释。 
git status #查看仓库状态 
git diff XX #查看XX文件修改了那些内容 
git log #查看历史记录 
git reset --hard HEAD^ 或者 
git reset --hard HEAD~ 回退到上一个版本 #(如果想回退到100个版本,使用git reset –hard HEAD~100 ) cat XX #查看XX文件内容 
git reflog #查看历史记录的版本号id 
git checkout -- XX #把XX文件在工作区的修改全部撤销。 
git rm XX #删除XX文件 
git remote add origin uri #关联一个远程库 
git push –u(第一次要用-u 以后不需要) origin master #把当前master分支推送到远程库 
git clone uri #从远程库中克隆 
git fetch origin #取得长途更新 
git pull #从远程推送至本地 
git checkout –b dev #创建dev分支 并切换到dev分支上 
git branch #查看当前所有的分支 
git checkout master #切换回master分支 
git merge dev #在当前的分支上合并dev分支 
git branch –d dev #删除dev分支 
git branch name #创建分支 
git stash #把当前的工作隐藏起来 等以后恢复现场后继续工作 
git stash list #查看所有被隐藏的文件列表 
git stash apply #恢复被隐藏的文件,但是内容不删除 
git stash drop #删除文件 
git stash pop #恢复文件的同时 也删除文件 
git remote #查看远程库的信息 
git remote –v #查看远程库的详细信息 
git push origin master #Git会把master分支推送到远程库对应的远程分支上
git add 常见错误
  • warning: LF will be replaced by CRLF in post.php.
    解决 git config –global core.autocrlf false
git init 常见错误
  • error: src refspec master does not match any.
    引起该错误的原因是,目录中没有文件,空目录是不能提交上去的
  • error: insufficient permission for adding an object to repository database ./objects
    服务端没有可写目录的权限
  • fatal: remote origin already exists.
    解决办法:$ git remote rm origin
  • error: failed to push som refs to ……..
    解决办法:$ git pull origin master //先pull 下来 再push 上去

 

分类: Git

162 条评论

legit mobile casinos australia · 2026-09-04 23:12

References:

Mobile casino neosurf australia legit mobile casinos australia

best payid pokies sites · 2026-09-17 21:43

References:

Payid pokies australia best payid pokies sites

bbs.sdhuifa.com · 2026-09-18 00:30

References:

1 dollar deposit pokies payid http://bbs.sdhuifa.com/home.php?mod=space&uid=1211188

desktop payid pokies · 2026-09-18 02:06

References:

Online pokies real money payid http://www.okaywan.com/home.php?mod=space&uid=841434

$10 payid pokies · 2026-09-18 03:30

References:

Progressive jackpot payid pokies https://test-sida.noads.biz/?398058

payid pokies sign up bonus · 2026-09-18 06:45

References:

Desktop payid pokies https://git.arteneo.pl/activeappeal4

https://gratisafhalen.be/ · 2026-09-18 19:42

References:

Bpay progressive jackpot pokies https://gratisafhalen.be/author/tongueclave98/

http://www.pshunv.com/ · 2026-09-20 14:55

References:

Offshore MiFinity casinos Australia http://www.pshunv.com/space-uid-952112.html

https://peatix.com/user/30563108/view · 2026-09-20 16:12

References:

Online casino PayID deposit https://peatix.com/user/30563108/view

EFT vs credit card casino · 2026-09-20 17:03

References:

High roller wire transfer casino http://www.bmw-workshop.com/member.php?action=profile&uid=104892

rentry.co · 2026-09-20 18:29

References:

Best bank transfer casino Australia https://rentry.co/yh8pxd9u

neosurf deposit bonus aus · 2026-09-21 01:53

References:

How to use neosurf at casino australia https://hackmd.hub.yt/leqSEJ-kQ_q0jcFyCDZQWg

https://gitlab.rails365.net · 2026-09-21 21:18

References:

Sofortüberweisung freispiele casino https://gitlab.rails365.net/gasletter5

schoolido.lu · 2026-09-21 21:54

References:

Sofort Auszahlung Casino https://schoolido.lu/user/inputsilk7/

hackmd.okfn.de · 2026-09-22 01:03

References:

Online casino sofortüberweisung dauer https://hackmd.okfn.de/0dxA_nRFR1-DEiIsyIjJxg

https://hackmd.hub.yt/ · 2026-09-22 04:23

References:

Bestes sofort casino https://hackmd.hub.yt/InQVpk4XRzerpxiFEzNnZg

gitlab.rails365.net · 2026-09-22 07:34

References:

Sofortüberweisung casino einzahlung https://gitlab.rails365.net/yarntip5

daojianchina.com · 2026-09-23 02:12

References:

Payid minimum deposit pokies http://daojianchina.com/home.php?mod=space&uid=1422879

https://androidonly.com · 2026-09-23 02:27

References:

Payid casino online pokies https://androidonly.com/user/rhythmschool7/

http://www.jzq5.cn/space-uid-475567.html · 2026-09-23 02:33

References:

Auszahlung sofortüberweisung casino http://www.jzq5.cn/space-uid-475567.html

jzq5.cn · 2026-09-23 02:39

References:

Sofort Casino ohne Anmeldung http://www.jzq5.cn/space-uid-475667.html

https://rdcvw.com/?514185 · 2026-09-23 02:47

References:

Legale Sofort Casinos https://rdcvw.com/?514185

https://bbs.kxwh.cn · 2026-09-23 03:36

References:

Willkommensbonus sofortüberweisung https://bbs.kxwh.cn/home.php?mod=space&uid=417247

t.044300.net · 2026-09-23 03:48

References:

Bestes casino mit sofortüberweisung http://t.044300.net/home.php?mod=space&uid=3112747

qianqi.cloud · 2026-09-23 03:52

References:

Klarna Casino Erfahrungen http://www.qianqi.cloud/home.php?mod=space&uid=1631426

daily free spins payid pokies · 2026-09-23 04:20

References:

High roller payid pokies https://hedgedoc.envs.net/h9lqPIerRpqW3hc5M9AK8g

https://bbs.airav.cc/home.php?mod=space&uid=5002035 · 2026-09-23 04:43

References:

Seriöses online casino mit sofortüberweisung https://bbs.airav.cc/home.php?mod=space&uid=5002035

winnipegasians.com · 2026-09-23 04:50

References:

Sofortüberweisung casino ohne registrierung https://winnipegasians.com/home.php?mod=space&uid=168957

http://daojianchina.com · 2026-09-23 04:51

References:

Neue casinos mit sofortüberweisung http://daojianchina.com/home.php?mod=space&uid=1462731

true-waller-2.mdwrite.net · 2026-09-23 05:25

References:

Payid pokies instant withdrawal australia https://true-waller-2.mdwrite.net/safe-payid-casinos-in-australia

sofort auszahlung online casino · 2026-09-23 07:36

References:

Online casino mit sofortüberweisung http://www.qilurexian.net/?241435

pshunv.com · 2026-09-23 09:02

References:

Casino sofortüberweisung http://www.pshunv.com/space-uid-960745.html

https://comsenz-service.com/?182443 · 2026-09-23 09:45

References:

Klarna sofortüberweisung casino https://comsenz-service.com/?182443

https://jszst.com.cn/ · 2026-09-23 10:13

References:

Online Casino Klarna Sofortüberweisung https://jszst.com.cn/home.php?mod=space&uid=7276227

https://www.rmbbk.com · 2026-09-23 10:13

References:

Online casino sofort einzahlung https://www.rmbbk.com/?2271166

http://www.sg588.tw/ · 2026-09-23 10:43

References:

Sofort Casino legal http://www.sg588.tw/home.php?mod=space&uid=1287632

https://www.1v34.com/space-uid-1826728.html · 2026-09-23 12:30

References:

Casino ohne mindesteinzahlung sofortüberweisung https://www.1v34.com/space-uid-1826728.html

bzsbs.cn · 2026-09-23 16:58

References:

Casino ohne Anmeldung Sofortüberweisung http://www.bzsbs.cn/home.php?mod=space&uid=1320618

casino ohne mindesteinzahlung sofortüberweisung · 2026-09-23 17:22

References:

Casino 1 euro einzahlung sofortüberweisung https://rdcvw.com/?514222

casino mit sofort bezahlen · 2026-09-23 17:39

References:

Auszahlung sofortüberweisung casino http://x.kongminghu.com/home.php?mod=space&uid=871306

rcfl.com.hk · 2026-09-23 18:02

References:

Live casino sofort https://www.rcfl.com.hk/home.php?mod=space&uid=10230988

lezcc.com · 2026-09-23 19:14

References:

Sofortüberweisung casinos deutschland http://www.lezcc.com/?618934

aupeopleweb.com.au · 2026-09-23 20:13

References:

Sofortüberweisung Echtgeld Casino https://www.aupeopleweb.com.au/au/home.php?mod=space&uid=3115611

Online Casino Klarna · 2026-09-24 00:43

References:

Online casino mindesteinzahlung sofort http://www.bzsbs.cn/home.php?mod=space&uid=1320667

https://www.xiuwushidai.com · 2026-09-24 01:41

References:

Bestes Sofortüberweisung Casino https://www.xiuwushidai.com/home.php?mod=space&uid=2901882

www.pshunv.com · 2026-09-24 02:32

References:

Sofort Casino ohne Anmeldung http://www.pshunv.com/space-uid-960803.html

payid pokies · 2026-09-29 06:46

References:

Australian online casino https://isowindows.net/user/lampsmile0/ payid pokies

http://www.qianqi.cloud/ · 2026-09-29 12:24

References:

Best payid pokies australia http://www.qianqi.cloud/home.php?mod=space&uid=1642030

intensedebate.com · 2026-09-29 12:39

References:

Payid accepted pokies https://intensedebate.com/people/climbghost26

australian payid pokies · 2026-09-29 13:45

References:

Same day payout pokies payid https://git.arteneo.pl/gardenchair09

pokies payid accepted australia · 2026-09-29 14:04

References:

Payid pokies real money no deposit https://www.instructables.com/member/johannsenagger1271/

gratisafhalen.be · 2026-09-29 23:28

References:

Progressive jackpot payid pokies https://gratisafhalen.be/author/moneyhandle5/

play pokies with payid · 2026-09-30 06:01

References:

Jackpot pokies payid https://onlinevetjobs.com/author/stitchpeak27/

payid online pokies · 2026-10-01 00:50

References:

Top rated payid pokies https://pad.public.cat/G7rklpMtR_Sg63pot1662A

https://sonnik.nalench.com/ · 2026-10-01 03:54

References:

Online pokies payid https://sonnik.nalench.com/user/pikebugle0/

neosurf casino australia aud · 2026-10-03 23:40

References:

Top neosurf online casinos australia http://dle1.xn--31-6kc3bfr2e.xn--p1ai/user/anklehubcap27/

instant payid withdrawal pokies australia · 2026-10-04 04:16

References:

Anonymous payid pokies https://rdcvw.com/?521024

new neosurf deposit casinos · 2026-10-04 06:59

References:

Australian neosurf casinos https://pbase.com/botanybeer88/

new online pokies neosurf · 2026-10-04 08:00

References:

Best online casino australia neosurf https://doc.neutrinet.be/e9ZLoOPiQ_ma-WCjG-Ym-Q

cq.x7cq.vip · 2026-10-04 12:02

References:

Real money pokies neosurf australia https://cq.x7cq.vip/home.php?mod=space&uid=9696807

neosurf casino australian dollars · 2026-10-04 14:31

References:

Neosurf cash out casino australia https://rentry.co/uyvuwaau

http://www.qingdaomop.com · 2026-10-04 15:40

References:

Neosurf casino payment method australia http://www.qingdaomop.com/?282721

newest neosurf casinos australia · 2026-10-04 17:42

References:

Neosurf casino australia review https://winnipegasians.com/home.php?mod=space&uid=156963

https://off.org.pl · 2026-10-04 23:29

References:

Neosurf casino ratings australia https://off.org.pl/members/notetuba80/activity/3641/

neosurf casino guide australia · 2026-10-06 04:15

References:

Neosurf high roller casino australia https://md.coredump.ch/lWyqjO4DTQWGA9W8xgvQrw

https://pad.stuve.de/c00hi-bWTvqSf7vZRZKaWQ · 2026-10-06 04:52

References:

Trusted neosurf casinos australia https://pad.stuve.de/c00hi-bWTvqSf7vZRZKaWQ

old.90asjdo3a.рф · 2026-10-06 05:39

References:

Neosurf voucher online casino australia http://www.old.xn--90asjdo3a.xn--p1ai/user/rubberkarate2/

git.jiankanghao.net · 2026-10-06 13:51

References:

Best neosurf online casino australia https://git.jiankanghao.net/toastbutton2

top osko pokies · 2026-10-16 09:51

References:

Osko instant play pokies https://md.coredump.ch/8nxW1I8GQg2JzReMY0R4WA

https://myspace.com/cartchef8 · 2026-10-16 17:36

References:

Wire transfer casino deposit bonus Australia https://myspace.com/cartchef8

https://git.arteneo.pl/desertlead8 · 2026-10-16 23:30

References:

Wire transfer casino sites australia https://git.arteneo.pl/desertlead8

$20 neosurf deposit casino australia · 2026-10-17 23:30

References:

Australian casinos that accept neosurf https://www.88m2.com/?324372

halcom.cn · 2026-10-18 07:29

References:

BPay pokies instant deposit http://halcom.cn/home.php?mod=space&uid=162542

md.sebastians.dev · 2026-10-18 21:01

References:

MiFinity casino promo codes Australia https://md.sebastians.dev/z6t_1TXOROKzmrAvFsMiBA

https://gitlab.rails365.net/ · 2026-10-19 08:53

References:

Neosurf online gambling real money australia https://gitlab.rails365.net/chestdriver75

Osko pokies recommended · 2026-10-20 05:03

References:

Osko pokies welcome bonus http://madk-auto.ru/user/beatcarol99/

http://www.okaywan.com/ · 2026-10-20 06:24

References:

Online pokies payid no deposit http://www.okaywan.com/home.php?mod=space&uid=857513

http://pandora6666.com · 2026-10-20 20:40

References:

Osko deposit casino Australia http://pandora6666.com/?231097

5 minimum deposit pokies bpay · 2026-10-21 06:25

References:

Pokies that accept BPay https://myspace.com/skinneon4

qianqi.cloud · 2026-10-21 09:22

References:

Real money payid online pokies http://www.qianqi.cloud/home.php?mod=space&uid=1715624

BPay accepted online casinos · 2026-10-21 19:22

References:

BPay casino reviews Australia https://md.sigma2.no/bnKgPmxlRiGYoub-nJ8AHA

mobile neosurf casinos aus · 2026-10-22 08:51

References:

Casino neosurf australia https://pad.multiplace.org/HTrGnZnsREWecF0UmdGQ-Q

codimd.zaehlwerk.net · 2026-10-23 03:16

References:

Osko vs PayID pokies https://codimd.zaehlwerk.net/hN8FY2NbSYmsOZRU78mTFw

dudoser.com · 2026-10-23 11:25

References:

Bank wire pokies australia https://dudoser.com/user/childcredit28/

topsitenet.com · 2026-10-23 19:23

References:

Osko pokies online banking https://topsitenet.com/profile/colonypound06/2679570/

https://a-taxi.com.ua/ · 2026-10-25 22:23

References:

Top rated payid pokies https://a-taxi.com.ua/user/rifledeath08/

taka bat · 2026-10-26 19:39

[7217]taka bat লগইন ও অ্যাপ ডাউনলোড | বিকাশ ক্যাসিনো গেম,taka bat সাইটে লগইন করে লাইভ ডিলার ক্যাসিনো গেম খেলুন। বিকাশ দিয়ে ক্যাসিনো ডিপোজিট করে দ্রুত অনলাইন স্লট গেম খেলার নিয়ম জানুন ও জয়েন করুন। visit: taka bat

may22.ru · 2026-10-27 04:48

References:

Online pokies australia real money bpay https://may22.ru/user/meterrecess82/

neosurf casino promo codes australia · 2026-10-27 08:05

References:

Top rated neosurf casinos australia https://skitterphoto.com/photographers/3541056/regan-klein

pad.koeln.ccc.de · 2026-10-28 11:56

References:

High limit wire transfer casinos australia https://pad.koeln.ccc.de/_WpC5eQNRw2JO3ZdxqnV6Q

https://myspace.com/dewmall3 · 2026-10-28 14:51

References:

Legit osko pokies australia https://myspace.com/dewmall3

instant payid pokies · 2026-10-28 20:46

References:

1 minimum deposit casino australia payid http://dle1.xn--31-6kc3bfr2e.xn--p1ai/user/soypike8/

payid casino online pokies · 2026-10-30 06:50

References:

VIP payid pokies australia http://www.gophotos.cn/space-uid-335580.html

https://gitlab.herzog-it.de/warbath0 · 2026-10-30 13:14

References:

Wire transfer withdrawal casino australia https://gitlab.herzog-it.de/warbath0

auonlineslotsaustralia · 2026-11-07 11:43

G day mates! Just had to drop a review for this brilliant slots destination. The game library is packed with exciting titles and the mobile experience is flawless. I love how they handle payouts so efficiently and the daily free spins keep the excitement alive. Perfect for anyone chasing good vibes and fair shots at winning. Cheers to the whole team for making online gaming such a blast auonlineslotsaustralia

onespotsocial.com · 2026-11-09 00:35

References:

Neosurf casino android australia https://onespotsocial.com/storeprice13

boone-silver-2.blogbright.net · 2026-11-09 00:36

References:

Idebit 5 deposit casino idebit \1 deposit casino https://boone-silver-2.blogbright.net/best-idebit-casinos-in-canada-2026

codimd.syssec.org · 2026-11-09 02:21

References:

Online casinos that accept idebit https://codimd.syssec.org/3PTCGCsyR6u_EfQa8U_x9A

rdcvw.com · 2026-11-09 22:58

References:

Neosurf maximum deposit casino https://rdcvw.com/?520530

发表回复

Avatar placeholder

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