Software Engineering Blog
- Home /
- Software Engineering Blog
You can compare branches in git using
git diff first-branch..second-branch but this will give you all changes between branches, but sometimes you need to know only files which were changed. You can do it using the following git command, it will give you a list of files names changed between two bran…
- Sunday, April 5, 2020 2:16 AM
When doing merge in Git, it automatically commits merge result if no conflicts exist. That behavior can be changed when
--no-commit parameter provided.
How to merge in Git without commit
git merge branch-name --no-commit --no-ff
When you modified, but did not commit the file and want to revert your changes, you can use
git checkout command providing file name or wildcards to revert, for example, all files of the same type.
How to revert single file in git
git checkout path-to-file
How to revert group of files in git
# git c…
There are a number of ways to undo changes you commit into a git repository, it depends on what exactly you want to change or undo and how.
For example, the most common task is to change comment text for your commit, in this case, you can follow instructions from How to change last commit message in…Read More
Sometimes you did make a commit, but forget to add ticket number into commit message, or realized than commit message is incorrect or contain some spelling mistakes. In git you can easily change last commit message without changing any files, just with one line.
git --amend -m "your new commit messa…
When you switching from one Git hosting provider to another (or when you need to move existing git repository to new repository), for example I switched from Bitbucket to Github recently, you naturally want to keep all history from old git repository and move it to new git repository.
This task can …Read More
I get a new high DPI laptop recently, its Dell Precision M3800 with QHD+ screen. The laptop is great, extremely fast and QHD+ screen is very sharp and bright, I am very happy with this laptop. But I found than a lot of software are not ready for high DPI yet, so I have issues related to pure support…Read More
Local development for ASP.NET websites over https protocol is much easy with IIS Express development certificate, which is pre-installed with IIS on Windows 8. But anyway when web application runs first time in any browsers, a message similar to the following appear
Your connection is not privateA…
Windows Azure has built in logging support, which can be used in any Azure application. Azure use System.Diagnostic namespace and have a number of static methods on Trace class
Trace.TraceError(...); Trace.TraceWarning(...); Trace.TraceInformation(...); Trace.Write(...);
The advantage of using this …Read More
Yaplex ® is a custom software development company located in Mississauga, Ontario. Yaplex was founded in 2013 and provides website development, mobile development, and custom .NET software development services.