gitk

A pretty and feature rich git GUI for Linux [closed]

六月ゝ 毕业季﹏ 提交于 2019-11-29 19:35:10
I was checking out for a rich GUI for Git on Linux . Of late I have started using it a lot and find that even though command-line is very useful, I would still want a GUI at my disposal since I am not still very much aware with the advanced features. I came across this question on SO before , but I still have to ask this question again, as that question doesn't have my answer I have used git-cola and gitk , but they look half-baked and gitk looks like I am working on some other DE. All the features I require in gitGUI is not in either or them. I tried giggle , but it is more useful for

Git回退到指定节点的版本

不羁岁月 提交于 2019-11-29 18:33:50
1、获取某个历史版本的id(即change-id,每个版本唯一) 方法1:使用git log命令查看所有的历史版本,输入q便可退出。 git log 方法2:使用gitk图形化界面查看节点信息。(在安装 Git 的同时,你也装好了它提供的可视化工具,gitk 和 git-gui。) --->假设查到历史版本的id是124bb0f757e661ef12cdbe99a805c156297d1f11 2、本地恢复到该节点状态 git reset --hard 124bb0f757e661ef12cdbe99a805c156297d1f11 3、强推到远程分支 <此时如果分支较远或者改动较多,使用git push origin可能会报错失败,此时可使用强推> git push -f -u origin master 注: 当远端设置了分支保护,则首先要将其取消,再强推; 强推之后,之前的版本被覆盖了,无法再查看到。 https://blog.csdn.net/weixin_34319817/article/details/92060381 来源: https://my.oschina.net/xiaominmin/blog/3106439

How to view complete commits when tracking history of a single file in Git?

▼魔方 西西 提交于 2019-11-29 16:36:10
问题 I have a Git repository with about a two years of history in it. I have single file in it, for which I wish to find all the commits, and for each commit: all the other files that were committed in it. Let's assume this file is named file.txt. I can run gitk with this file as argument: gitk file.txt and I do get each commit. However, browsing that tree in gitk only shows changes done to file.txt. I'd like to see what other files were changed in that commit. I can copy paste each commit SHA1

In gitk, why is my yellow button above master?

本小妞迷上赌 提交于 2019-11-29 06:30:27
问题 I couldn't find any documentation on gitk about what the colors mean, but the problem here I think is that my yellow button has passed my master. Now when I try to do: git push origin master It doesn't work. How did my yellow button get over master and how do I get them back together so I can do push origin master? 回答1: Looks you need to put that commit back into the master branch (if it belongs there). Also it looks like you’ve detached HEAD because that commit is not a branch head. If all

Git: Compare All Local Commits to Remote Repo Version

空扰寡人 提交于 2019-11-28 22:29:49
I'm somewhat new to Git and what I'm trying to do seems like it should be possible. Basically I've been working off of clone of a repo and have made quite a few local commits. Is there a way to see the diff of the 'sum' of all my changes and the original repo version? I would assume this would be possible because Git will essentially do this when I do a push . Here is an example of what I'm trying to do: in gitk I will see something like this: * - [mybranch] Added '42' to end of answers.txt (local commit) * - Added 'Hello World' to end of my.txt (local commit) * - Added 'C#/.NET' to beginning

gitk will not start on Mac: unknown color name “lime”

泪湿孤枕 提交于 2019-11-28 15:34:01
问题 I've installed git on a mac via brew install git . When I try to start gitk I get the following error: Error in startup script: unknown color name "lime" (processing "-fore" option) invoked from within "$ctext tag conf m2 -fore [lindex $mergecolors 2]" (procedure "makewindow" line 347) invoked from within "makewindow" (file "/usr/local/bin/gitk" line 12434) It appears that my Mac doesn't have a color named lime . Can I add a lime color to the environment, or is there a better fix? The git

A pretty and feature rich git GUI for Linux [closed]

无人久伴 提交于 2019-11-28 15:25:57
问题 I was checking out for a rich GUI for Git on Linux . Of late I have started using it a lot and find that even though command-line is very useful, I would still want a GUI at my disposal since I am not still very much aware with the advanced features. I came across this question on SO before, but I still have to ask this question again, as that question doesn't have my answer I have used git-cola and gitk , but they look half-baked and gitk looks like I am working on some other DE. All the

Install gitk on Mac

只谈情不闲聊 提交于 2019-11-28 15:13:57
Does anyone know how to install gitk on Mac? From their official website, it seems gitk comes with git, but the version of my git ( git version 1.7.12.4 (Apple Git-37) ) does not come with gitk. brew install gitk does not work for gitk. Version info (copied from comments): OS X 10.8.2 (12C2034) "Mountain Lion" XCode Version 4.6 (4H127) Jenna Pederson Correct, the 1.7.12.4 (Apple Git-37) does not come with gitk. You can install a more recent version of git which comes with gitk by using brew. More thorough instructions located here: http://www.moncefbelyamani.com/how-to-install-xcode-homebrew

Guide to understanding gitk? [closed]

佐手、 提交于 2019-11-28 15:09:50
I am introducing git to a team of developers and i find gitk to be an amazing tool. It's also quite hard to understand, since understanding gitk requires an understanding of both git history and the viewer tool itself. Does anyone have any good references to something like a "beginner's guide to git history with gitk" ? Cascabel I've never seen anything specifically for gitk. Here's a stab at it, from a "how does it work" point of view. Knowing the commands that are behind everything (or at least generally equivalent) helps learn to use command-line tools more easily, and also shows you where

Install gitk on Mac

冷暖自知 提交于 2019-11-27 09:02:53
问题 Does anyone know how to install gitk on Mac? From their official website, it seems gitk comes with git, but the version of my git ( git version 1.7.12.4 (Apple Git-37) ) does not come with gitk. brew install gitk does not work for gitk. Version info (copied from comments): OS X 10.8.2 (12C2034) "Mountain Lion" XCode Version 4.6 (4H127) 回答1: Correct, the 1.7.12.4 (Apple Git-37) does not come with gitk. You can install a more recent version of git which comes with gitk by using brew. More