Git Product home page Git Product logo

git-vim's Introduction

git.vim

Introduction

Git-vim provides:

  • Plugin files for calling git functions from inside Vim

  • Syntax files for git displays

Commands

:GitAdd <file>

git-add <file> or current file if not specified.

:GitRm <file>

git-rm <file> or current file if not specified.

:GitCommit <args>

git-commit.

:GitStatus

Show git-status of current file or repository.

:GitLog

Show git-log of current file or repository.

:GitCheckout <args>

git-checkout. Completes git commits.

:GitDiff <args>

git-diff. Completes git commits.

:GitPull <args>

git-pull.

:GitPullRebase

git-pull –rebase.

:GitPush <args>

git-push. Defaults to +git push origin <current-branch>+.

:GitCatFile <args>

git-cat-file.

:GitBlame

git-blame. Shows who is responsible for a change

:Git <args>

Does any git command.

:GitVimDiff <rev>

Enter vimdiff with another revision of the current file. Revision defaults to HEAD if not specified.

:GitVimDiffMerge

Experimental. Call this command on unmerged file to enter vimdiff mode.

:GitVimDiffMergeDone

Call this command after merging.

Keymaps

<Leader>gd

:GitDiff

<Leader>gD

:GitDiff –cached

<Leader>gs

:GitStatus

<Leader>gl

:GitLog

<Leader>ga

:GitAdd

<Leader>gA

:GitAdd <cfile>

<Leader>gr

:GitRm

<Leader>gR

:GitRm <cfile>

<Leader>gc

:GitCommit

<Enter>

:GitAdd <cfile>

<Leader>gb

:GitBlame

License

The MIT License

git-vim's People

Contributors

amjith avatar bartman avatar bogado avatar boz avatar gmccreight avatar lubomir avatar mbudde avatar motemen avatar wincent avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.