git-cola | git-cola : The highly caffeinated Git GUI
kandi X-RAY | git-cola Summary
kandi X-RAY | git-cola Summary
git-cola: The highly caffeinated Git GUI
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return style sheet .
- Add command to subparser .
- Parse the csv file .
- Return the authors .
- Return viewer actions .
- Restore the selection .
- Creates a context menu .
- Setup the environment .
- Handle key press events .
- Generate a patch .
git-cola Key Features
git-cola Examples and Code Snippets
...
public class VendingMachine
{
public List Products { get; set; }
public string Payment { get; set; }
public VendingMachine()
{
this.Products = new List();
CocaColaProduct cocaCola = new
...
class Program
{
static void Main(string[] args)
{
VendingMachine vm = new VendingMachine();
CocaColaProduct prod = new CocaColaProduct();
Console.WriteLine("Welcome to Coca-Cola Hug Machine"
...
public class CocaColaProduct
{
public string Code { get; set; }
public string Name { get; set; }
public string Category { get; set; }
public int QTY { get; set; }
public double Price { get; set; }
Community Discussions
Trending Discussions on git-cola
QUESTION
The majority of times I start git-cola
I go through the sequence Branch → Visualize Current Branch... (or Visualize All Branches...).
Is there a way to directly launch one of those views from the command line?
...ANSWER
Answered 2020-Dec-06 at 16:43Well, incidentally I found this answer to an unrelated question, where I discovered git-cola
adds a cola
module to git
(git cola ...
, git help cola
). Then I checked through git help cola
but didn't see what I was looking for.
But then I noticed the viewer had gitk
at the end of the title bar.
So I just typed gitk
on the command line and it worked. Not too experienced with git
and related tools, so I didn't know that existed.
So to answer my initial question more specifically (at least for Git Cola 2.5):
- Branch → Visualize Current Branch...:
gitk
- Branch → Visualize All Branches...:
gitk --all
- Bonus: Visualize a specific other branch:
gitk
- Bonus: View → DAG...:
git dag
I do not know if gitk
came with git-cola
, or if it's its own thing, or really how I got it. Same deal with the DAG tool.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install git-cola
Normally you can just do "make install" to install git-cola in your $HOME directory ($HOME/bin, $HOME/share, etc). If you want to do a global install you can do. The platform-specific installation methods below use the native package manager. You should use one of these so that all of git-cola's dependencies are installed. Distutils is used by the Makefile via setup.py to install git-cola and its launcher scripts. distutils replaces the #!/usr/bin/env python lines in scripts with the full path to python at build time, which can be undesirable when the runtime python is not the same as the build-time python. To disable the replacement of the #!/usr/bin/env python lines, pass USE_ENV_PYTHON=1 to make.
IMPORTANT If you have a 64-bit machine, install the 64-bit versions only. Do not mix 32-bit and 64-bit versions.
Git for Windows
Git Cola
For Linux/Unix-like environments with symlinks, an easy way to use the latest git cola is to keep a clone of the repository and symlink it into your ~/bin directory. If $HOME/bin is not already in your $PATH you can add these two lines to the bottom of your ~/.bashrc to make the linked tools available.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page