Ⅰ 濡备綍鍦↙inux涓嬩娇鐢℅itblit宸ュ叿鍒涘缓Git浠揿簱链嶅姟
1.鍒涘缓Gitblit瀹夎呯洰褰
棣栧厛鎴戜滑灏嗗湪鎴戜滑镄勬湇锷″櫒涓婂缓绔嬩竴涓鐩褰曪纴骞跺湪璇ョ洰褰曚笅瀹夎呮渶鏂扮殑Gitblit銆
$ sudo mkdir -p /opt/gitblit$ cd /opt/gitblit
娣诲姞鏂扮殑浠揿簱
浣跨敤锻戒护琛屽垱寤轰竴涓鏂扮殑浠揿簱
touch README.md git init git add README.md git commit -m "first commit" git remote add origin ssh://arunlinoxide@localhost:29418/linoxide.com.git git push -u origin master
璇峰皢鍏朵腑镄勭敤鎴峰悕arunlinoxide镟挎崲涓轰綘娣诲姞镄勭敤鎴峰悕銆
鍦ㄥ懡浠よ屼腑push涓涓宸插瓨鍦ㄧ殑浠揿簱
git remote add origin ssh://arunlinoxide@localhost:29418/linoxide.com.git git push -u origin master
娉ㄦ剰锛氩己鐑埚缓璁镓链変汉淇鏀圭敤鎴峰悕钬渁dmin钬濈殑瀵嗙爜銆
Ⅱ 濡备綍鍦╳indows涓嫔畨瑁匞IT
Git鏄涓涓鍏嶈垂镄勚佸紑婧愮殑鐗堟湰鎺у埗杞浠躲傚湪Windows涓婂畨瑁単it锛屼竴鑸涓簃sysgit銆
1銆佷笅杞斤细鍦ㄥ畼鏂圭绣绔欎笅杞芥渶鏂扮増链銆
2銆佸畨瑁咃细镣瑰嚮涓嬩竴姝ワ纴鐩村埌鍑虹幇姝ラや笁銆
3銆佸湪Windows Explorer integration阃夐”涓灏嗏淕it Bash here钬濆拰钬淕it GUI here钬濇墦瀵瑰嬀銆
4銆佸湪钬淎djusting your PATH environment钬濋夐”涓锛岄粯璁ゅ嵆鍙銆
5銆佸湪钬淐onfiguring the line ending conversions钬濋夐”涓锛
绗涓涓阃夐”锛氩傛灉鏄璺ㄥ钩鍙伴”鐩锛屽湪windows绯荤粺瀹夎咃纴阃夋嫨锛
绗浜屼釜阃夐”锛氩傛灉鏄璺ㄥ钩鍙伴”鐩锛屽湪Unix绯荤粺瀹夎咃纴阃夋嫨锛
绗涓変釜阃夐”锛氶潪璺ㄥ钩鍙伴”鐩锛岄夋嫨銆
6銆侀夋嫨钬淔inish钬濓纴缁撴潫瀹夎呫
7銆佸湪妗岄溃涓婏纴鍙浠ョ湅鍒板畨瑁呭悗镄勨淕it Bash钬濋夐”锛屽弻鍑绘墦寮锛屽彲浠ヨ繘琛屾搷浣滀简銆