Skip to content

MRLSK8/Git-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Git-alias

[alias]

  • ci = commit -m
  • st = status -sb
  • undo = checkout --
  • rollback = reset --soft
  • rmao = remote add origin
  • pom = push -u origin master
  • sf = show --name-only
  • unstage = reset HEAD --
  • co = checkout
  • cm = checkout master
  • cb = checkout -b
  • db = checkout -D
  • lg = log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30
  • incoming = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' ..@{u})
  • outgoing = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' @{u}..)

About

Shortcuts for git commands!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published