Git Bash : Visual Studio Code : Sublime Text with Git + Git Gutter Plugins
Wanted to check out how well is the Git integration with various code editors.
1. Installed Git Bash , Visual Studio Code, Sublime Text 3 with Git Gutter.
2. Create a Github Repo called test
3. Created a folder “C:\Sanket\Projects\GitHub” fired up Git Bash and did a clone of my “test” repo.
#git clone https://github.com/sanketss84/test.git
4. Now time to test the Git integration with both code editors
5. open your git test folders in both code editors
For Visual Studio Code
For Sublime Text
6. Now we have both editors ready for comparison
7. Lets make some changes in Sublime and VS Code and see how its reflected
VS Code gives us that familiar green stripe where ever changes are observed
Sublime Text with Git Gutter gives us those small + symbols.
Pretty useful right to track code changes.
These changes are tracked live from Git Hub.
8. On saving the file in VS Code the Git Icon lights up so that we can commit the file to Github. Lets peform a commit and push this file to Github.
9. Lets check out GitHub Page to see if the changes are reflected.
And this looks great.
10. Lets check it with sublime text.
Thats it hope you enjoyed it 🙂
Thats some really cool Git Magic.