Is there an alternative to show changes in git between commits? Maybe even highlighted in the command line interface to show insertions and deletions? Now I always have to open the browser and go to github to see the changes highlighted in green and red.
Asked
Active
Viewed 30 times
0
-
1Would `git diff` do? – evolutionxbox Sep 21 '18 at 13:03
-
yes, Is this commonly used? What about gitk? is it better? – Keskorian Sep 21 '18 at 13:09
-
btw: Can I do everything just using command line what I can do in the browser except for creating and deleting repos? – Keskorian Sep 21 '18 at 13:11
-
2`git diff` is the way one compares commits in git. The other tools, like github or gitk, use it. – evolutionxbox Sep 21 '18 at 13:12
-
You can also create and delete repos without the browser. `git init` and `rm -r /path/to/my/repo` – evolutionxbox Sep 21 '18 at 13:12
-
I mean completely neglect the browser and create a remote repository, not a local – Keskorian Sep 21 '18 at 13:14
-
Yep. https://developer.github.com/v3/repos/#create https://developer.github.com/v3/repos/#delete-a-repository – evolutionxbox Sep 21 '18 at 13:16
-
1Possible duplicate of [How do I diff the same file between two different commits on the same branch?](https://stackoverflow.com/questions/3338126/how-do-i-diff-the-same-file-between-two-different-commits-on-the-same-branch) – evolutionxbox Sep 21 '18 at 13:25