• Stars
    star
    151
  • Rank 246,057 (Top 5 %)
  • Language
    CoffeeScript
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Atom-ati-Git. Git intergration for Atom.io, in the style of Magit. UNMAINTAINED. SEEKING NEW MAINTAINER.

STILL SEEKING NEW MAINTAINER!

Folks continue to star and fork this repo, for which I am very glad. I no longer use atom, nor atomatigit, so I'd love to pass the reins on to someone whos wants to keep things rolling. Drop me a note!

atomatigit

Real git integration for the Atom text editor.

Atomatigit allows you to see diffs, stage chunks, make commits, push, fetch, change branches, delete branches, discard changes... and if there's any function you're missing, you can also execute raw git commands.

Atomatigit is designed to be used using ultra-fast keyboard shortcuts. Press cmd-alt-g to show the atomatigit pane on the right. From there, you can right-click on a file, branch, or commit to see your options, and to get a friendly reminder of the keyboard shortcuts. Once you know the shortcuts, you can navigate through 100% of atomatigit's functions without a mouse.

Atomatigit is inspired by the magit emacs package.

screenshot: file list screenshot: dark theme; branch list; context menu

Installing

Using apm:

  apm install atomatigit

Making changes and staging files

Press cmd-alt-g to show the atomatigit pane on the right.

As soon as you save a file, it will show up in the list of unstaged changes. Navigate to it using arrow keys, i/k, or by clicking on it. Hit tab to see the diff, and use shift-s to stage it.

Committing

Once you've staged some files, initiate a commit by hitting c. A new buffer will open for you to enter a commit message. When you're done describing your changes, cmd-alt-c will complete the commit.

Other Key bindings

There are many, but don't worry: if you ever forget these, Atomatigit has right-click menus to help remind you. Here's the complete list:

  • cmd-alt-g to open/focus/close atomatigit
  • escape to close
  • up (or i) and down (or k) to navigate between items
  • c to commit
  • cmd-alt-c from a commit buffer to complete a commit
  • shift-P to push to origin
  • b to view branches
  • s to view the staging area
  • l to view the commit log
  • : to execute a custom git command
  • r to refresh
  • shift-p to push the current branch to origin
  • f to fetch

Staging View

  • enter to open a selected file
  • tab to see an unstaged diff
  • shift-s to stage a file
  • u to unstage a file
  • z to stash
  • shift-Z to unstash
  • backspace to kill a diff, or delete an untracked file

Branch View

  • enter to checkout the selected branch
  • c to create a new branch
  • backspace to delete a branch

Commit Log

  • enter to soft reset to a selected commit
  • shift-enter to hard reset

Current status

Atomatigit is usable, but still in active development. Feel free to make feature requests.

Missing features (coming soon)

You cannot merge, ammend, or rebase through the UI (though you can perform the commands using atomatigit:git-command).

Moved and deleted files have bad interactions (in terms of toggle-diff, etc).

The method for staging individual patches isn't the best interface.

Contributing

Contributions are welcome!

apm develop atomatigit

Will clone the repo for you.

The code should be quite clear. If you add new files, don't forget to add them to the correct index.coffee so they can be required from other directories.

Pull requests that break specs won't be merged, so be sure to run apm test before you PR.

Pull requests that spec all their new public methods will get more attention than those that don't :)

Contributors

More Repositories

1

unjustifiable

Text justification, for the web, fast, good, and cheap.
JavaScript
69
star
2

oyoy

Oyster (a lispish thing) hopefully someday JIT-compiled with pypy
Python
13
star
3

phocus

Focus and action management, with hotkeys and context-sensitive help
TypeScript
11
star
4

WhiteProxy

WhiteProxy has been superseded by Guilt, and is unsupported.
Python
10
star
5

Tainted-Oyster

A FEXPR-based lisp, for first-class, hygenic macro magic.
C
10
star
6

Crow-Quill

An ink drawing app for the apple pencil
Swift
8
star
7

eight

Eight is a toy programming language built for metaprogramming.
C
8
star
8

frontend-fuzzer

UI fuzz testing in headless chromium. Let a monkey with a typewriter augment your QA process.
TypeScript
7
star
9

esdragon

A react drag and drop library that works with touch and mouse.
TypeScript
3
star
10

react-phocus

A react wrapper for the Phocus library
TypeScript
3
star
11

CameraStylus

Draw on a projection screen with a giant apple pencil
Swift
2
star
12

multi-column-mode

It's an emacs minor-mode that lets you edit columnar text.
Emacs Lisp
2
star
13

schematizer

YAML to schema.rb converter, for to prototype apps quickly-like.
HTML
2
star
14

Guilt

Ask Guilt to borrow the Internet.
JavaScript
2
star
15

procedural-comic

A Common Lisp project for generating comics procedurally.
Common Lisp
2
star
16

drag-and-drop-talk

Slides, demos, and nonsense for a talk given at Beer City Code 2018
TypeScript
1
star
17

rna_illustration

A fabricjs illustration of RNA
CoffeeScript
1
star
18

digitalpalette

A digital palette that uses spectrographic data of traditional pigments
Python
1
star
19

routree

Yet another rails-inspired react router
TypeScript
1
star
20

css-sort.el

Sorts css and scss attributes "concentrically". Plays nice with scss-lint.
Emacs Lisp
1
star
21

a-snowballs-chance

A ludum dare 32 game.
CoffeeScript
1
star
22

keylock

Keylock for X11: make any modifier a locking modifier
C
1
star
23

onthe

Onthe is the result of me forgetting that Coffeescript exists.
JavaScript
1
star
24

blog

Source for sambleckley.com
SCSS
1
star