Git and Visual Studio 2017 part 16 : Find out who introduced the issue and when

In previous article, I explain how to revise local commits afterwards via Git. In this article, I explain how to find the commit which causes the issue when something went wrong. Sometimes, I find that one function stop working all of sudden, but I don’t know when it’s broken. If I am the only developer,… Read more

Git and Visual Studio 2017 part 15 : Revise local commits

In previous article, I explained how to undo the commit you shared with others by using “revise”. In this article, I show you how to revise local commits before sharing with others. I couldn’t find a way to make this happen in Visual Studio 2017 though. Revise commits in Git If I simply want to… Read more

Git and Visual Studio 2017 part 14 : Resetting the changes after sharing code with others

In previous article, I explained how to compare item versions by using Visual Studio 2017. In this article, I share how to reset your change after you already shared your code. Reset vs. Revert As we already see in part 3 of this series, we know how to “reset”. But why this is not good… Read more

Git and Visual Studio 2017 part 13 : Compare your items in VS

In previous article, I used ‘diff’ command in Git to compare items. In this article, I do the same but using Visual Studio 2017. Compare two commits 1. Check the current situation first. Go to Team Explorer | Changes | Actions and View History. 2. Select first and third commits and right click. Select “Compare… Read more

Git and Visual Studio 2017 part 12 : Compare your items in Git

In previous article, I explained how to check and change git configuration. In this article, I play with “diff” command in Git to compare items. I will write how to compare items in VS in the next article. Compare items in Git Git provides “diff” command to compare items. it compares items between two commits,… Read more

Git and Visual Studio 2017 part 11 : Configuration

In previous article, I explained GitHub and Visual Studio integration to share your work with others. In this article, I look into configuration in Git. If you want to tweak the git behaviors, you can use configuration feature to override the default. Configuration Scope Git has three scopes for configuration. System, global and local. Narrower… Read more

Git and Visual Studio 2017 part 10 : Share your work with remote with VS

In previous article, I played with remote in Git. In this article, I do the same but using Visual Studio 2017. Delete GitHub repository and reset some status 1. Go to GitHub and delete the repository you created. You can do so from “Settings” | “Danger Zone”. 2. Make sure you don’t have remote. If… Read more

Git and Visual Studio 2017 part 9 : Share your work with remote with Git

In previous article, I explain how to temporary save your work by stashing. I think I did enough work on local, and it’s time to share with others! There are many ways to share your code, and I am using GitHub this time. If you don’t have GitHub account, go to http://github.com and sign up…. Read more

Git and Visual Studio 2017 part 8 : Saving your temporary work

In previous article, I explain how to pick up particular commits from other branches. So far, when I do branching operations, I keep working directory and staging area clean by commit all changes. However, in a real situation, I may need to switch branch when I didn’t finish current work. In this article, I will… Read more

Git and Visual Studio 2017 part 7 : Cheery-picking changes from other branch

In previous article, we see merge and rebase as part of branching related functions. Then I cannot avoid “cherry-pick”, which takes several commits from a branch into current one. Cheery-pick in Git Before start doing anything, lets reset the current status so that master has Patch1.cs commit where as dev branch has Class5.cs and Class6.cs… Read more