Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

GIT re-merge files from dev to master -


my master git branch seams have errors i'd recheck, re-merge or possibly clone dev branch on master branch master branch copy of dev.

how can that? thx.

if problem checked-out files don't match branch, use git reset normally:

git reset --hard head 

that should need. however, if still want overwrite master dev, read on.


if want overwrite master branch contents of dev branch, use git reset so:

$ git checkout master $ git reset --hard dev 

and if want push somewhere else:

$ git push origin master 

note if dev branch doesn't fast-forward master branch (which i'm guessing won't, since said master branch has screwed stuff in it), you'll need add --force flag push overwrite on remote:

$ git push origin master --force 

note, however, can involve of normal caveats of rewriting history la git rebase - if else uses remote, they'll need deal equivalent of upstream rebase.


to avoid problem in future, advise friend using --force never necessary. if they're getting conflicts when try git push, should git pull first, resolve conflicts, , git push.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -