Git鏄竴涓紑婧愮殑鍒嗗竷寮忕増鏈帶鍒剁郴緇燂紝鐢ㄤ互鏈夋晥銆侀珮閫熺殑澶勭悊浠庡緢灝忓埌闈炲父澶х殑欏圭洰鐗堟湰綆$悊銆?/p>
鎿嶄綔緋葷粺錛歝entos 5.5
yum install zlib-devel
yum install openssl-devel
yum install perl
yum install cpio
yum install expat-devel
yum install gettext-devel
yum install autoconf
瀹夎cURL
# wget http://curl.haxx.se/download/curl-7.17.1.tar.gz
# tar zxvf curl-7.17.1.tar.gz //瑙e帇
#cd curl-7.17.1
# ./configure --prefix=/usr/local/curl
# make
# make install
vi /etc/ld.so.conf 娣誨姞/usr/local/lib
/sbin/ldconfig
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
tar xzvf git-latest.tar.gz
cd git-2011-10-08
autoconf
./configure --with-curl=/usr/local/curl
make
make install
*************************************瀹夎ok
錛?/code>
緇堢杈撳叆#git
鐩稿叧鍙傛暟鍜岃鏄庤繕鏄緢鍏ㄧ殑
浣跨敤鍜屾惌寤虹増鏈帶鍒訛細
鍙互鍙傝冿細
http://blog.haohtml.com/wp-content/uploads/2011/04/git-tut.pdf
http://www.linuxsir.org/main/doc/git/gittutorcn.htm
锘?span class="Apple-style-span" style="color: #333333; font-family: Georgia, 'Times New Roman', Times, san-serif; line-height: 25px; background-color: #ffffff; ">鎴栬呬笅杞姐?a target="_blank" style="outline-style: none; outline-width: initial; outline-color: initial; text-decoration: none; color: #3d81ee; border-bottom-width: 1px; border-bottom-style: dashed; ">git鎼緩銆嬫枃妗?/code>
絎竴錛?/p>
JS浠g爜
<script language=”javascript”>
function ShopXG(infor)
{
alert(‘鎴戣寮緗戝簵銆佹惡璐嫭绔嬬綉搴楃郴緇燂紝妯℃澘鏈鍏紝鏈涓撲笟鐨勭郴緇燂紒’);
return;
}
</script>
銆銆using System.Security.Permissions;
銆銆娉ㄦ剰錛?綾誨畾涔夊墠闇瑕佸姞涓婁笅闈袱琛岋紝鍚﹀垯璋冪敤澶辮觸錛?/p>
銆銆[PermissionSet(SecurityAction.Demand, Name = "FullTrust")]
銆銆[System.Runtime.InteropServices.ComVisibleAttribute(true)]
銆銆璋冪敤鐨勫嚱鏁幫細
銆銆webBrowser1.Document.InvokeScript("ShopXG ", new string[] {‘ssss’});
絎簩錛?/p>
JS涓皟鐢╟#鍑芥暟紺轟緥
C#鍑芥暟濡備笅錛?public void ShowMessage(string message)
{
MessageBox.Show(“鍏嶈垂寮緗戝簵錛屾惡璐嫭绔嬬綉搴楃郴緇熻瘹閭鎮ㄧ殑鍔犵洘錛?#8221;);
}
<script language=”javascript”>
function InvokeFunc()
{
window.external.ShowMessage(‘鍛靛懙’);
}
</script>
<script type="text/javascript" language="javascript"> function test() { alert("oec2003"); return false; } </script>
protected void Button1_Click(object sender, EventArgs e) { ClientScript.RegisterStartupScript(this.GetType(), "clear", "<script>test()</script>"); }
public string GetAuthStatus() { ViewState["Auth"] = "Red"; return ViewState["Auth"].ToString(); }
<script type="text/javascript" language="javascript"> function getAuth() { var authStatus = "<%=GetAuthStatus()%>"; return authStatus; } </script>
document.all("button1").click();