Loading

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 39 下一页
摘要: git status, git add, git commit, and git checkoutare such common commands that it is useful to have abbreviations for them.Add the following to the .gitconfig file in your $HOME directory.FILE: .gitconfig[alias] co = checkout ci = commit st = status br = branch hist = log --pretty=format:\"%h % 阅读全文
posted @ 2012-04-26 11:11 .net's 阅读(330) 评论(0) 推荐(0)
摘要: The Ultimate Log Format Over time, I’ve decided that I like the following log format for most of my work. EXECUTE: git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=shortIt looks like th... 阅读全文
posted @ 2012-04-26 11:09 .net's 阅读(538) 评论(0) 推荐(0)
摘要: Content Page_PreInit Content Controls Init MasterPage Controls Init MasterPage_Init Content Page_Init Content Page_PreLoad Content Page_Load MasterPage_Load Content Controls... 阅读全文
posted @ 2012-04-22 14:27 .net's 阅读(247) 评论(0) 推荐(0)
摘要: using System;using System.Web.DynamicData;using System.ComponentModel.DataAnnotations;[MetadataType(typeof(ProductMetaData))]public partial class Product{}public class ProductMetaData{ // Applying ... 阅读全文
posted @ 2012-04-21 18:33 .net's 阅读(443) 评论(0) 推荐(0)
摘要: 1, embedded resource2, add webresource in assemblyInfo.cs3, add js reference with script managerNote: please pay attension the js file name. 阅读全文
posted @ 2012-04-20 21:22 .net's 阅读(382) 评论(0) 推荐(0)
摘要: Within ASP.NET, attributes and elements take precedence in the following order (first to last):1. Theme attributes in the @ Page directive2. <pages Theme=”themeName”> elements in the <system.web> section of aWeb.config file3. Local control attributes4. StyleSheetTheme attributes in the @ 阅读全文
posted @ 2012-04-20 10:24 .net's 阅读(490) 评论(0) 推荐(0)
摘要: attend,join,participate,take part in这些动词或词组均含“参加,加入”之意。attend侧重参加或出席会议或学术活动等。join普通用词,指加入党派、团体或游戏活动等。participate正式用词,特指参加团体活动,暗示以一个积极的角色参加。take part in侧重参加某项群众性、集体性的事业、工作或活动,突出参加者在其中发挥一定的作用。 阅读全文
posted @ 2012-04-14 10:04 .net's 阅读(1027) 评论(0) 推荐(0)
摘要: mkdir /c/@project/HelloGitcd /c/@project/HelloGitgit initgit add .git commit -am 'Initial load'mkdir c:/dropbox/repositories/vpubgit remote add origin c:/dropbox/repositories/vpubgit push origin mastercd c:/dropbox/repositories/vpubgit init --bare# Dropbos is a free file-sharing and syncing 阅读全文
posted @ 2012-04-03 21:02 .net's 阅读(547) 评论(0) 推荐(0)
摘要: 1.Now take a second to look at that diagram and realize what it did. It essentially undid the last commit you made. When you rungit commit, Git will create a new commit and move the branch thatHEADpoints to up to it. When youresetback toHEAD~(the parent of HEAD), you are moving the branch back to wh 阅读全文
posted @ 2012-04-01 21:19 .net's 阅读(331) 评论(0) 推荐(0)
摘要: Renaming and Removing filesTo rename a file in the indexandthe working directory:$ git mv README readme$ git ls-filesreadme$ git status# On branch master# Changes to be committed:# (use "git reset HEAD ..." to unstage)## renamed: README -> readme#And to remove a file from the working di 阅读全文
posted @ 2012-04-01 16:51 .net's 阅读(409) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 39 下一页