Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

setting git aliases

git config --global alias.st status
git config --global alias.ci commit
git config --global alias.co checkout
git config --global alias.br branch
Comment

create git aliases

$ git config --global alias.ac "!git add -A && git commit -m"
Comment

git alias

$ git config --global alias.co checkout
$ git config --global alias.br branch
$ git config --global alias.ci commit
$ git config --global alias.st status
Comment

git alias list

# Setup short form of commands to save keystrokes

git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
Comment

git aliases

git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.com commit
git config --global alias.stat status
Comment

git alias list

git config --get-regexp alias
Comment

git add alias

git config --global alias.<alias> <command>
Comment

bash git aliases

alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit'
alias gd='git diff'
alias gco='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'

alias got='git '
alias get='git '
Comment

git alias variables

ra = "!f() { 
        git remote add $1 https://bitbucket.org/$2.git; 
      }; f"
Comment

PREVIOUS NEXT
Code Example
Shell :: nodemon watch file run command 
Shell :: Start Xampp Mysql In Ubantu 
Shell :: bash script template 
Shell :: bash print line if column value is in column of another file 
Shell :: pull changes from dev to remote ranch without merging branch 
Shell :: remove user from sudo group 
Shell :: Listener kali linux 
Shell :: set git origin 
Shell :: install jdk linux command 
Shell :: install haskell stack 
Shell :: how to isnatll snap on ubuntu linux 
Shell :: how to delete images older than x days from docker hub 
Shell :: aws ls wildcard 
Shell :: pocketsphinx install error 
Shell :: terminal how to find a file name 
Shell :: react native init 
Shell :: how to access adb globally on mac 
Shell :: nginx: invalid option: "restart" 
Shell :: docker stop and remove specific container 
Shell :: connect emulator to localhost 
Shell :: git checkout certain files 
Shell :: docker access denied 
Shell :: C:UsersMY PCAppDataRoaming pm/node_modules/node/bin/node: line 1: This: command not found 
Shell :: cocoapods not installed 
Shell :: git search all branches 
Shell :: npm audit 
Shell :: youtube dl download video by idex 
Shell :: how to update ubuntu 
Shell :: kill process on port 
Shell :: ubuntu mouse mover 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =