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 add alias

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

Create alias for git push

$ git config --global alias.p 'push'
Comment

GIT: Alias for existing command

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

PREVIOUS NEXT
Code Example
Shell :: sourcetree permission denied (publickey) github mac 
Shell :: how to check whats using my space linux 
Shell :: git reset in gitlab 
Shell :: pushing code with another github account 
Shell :: ubuntu change user 
Shell :: how to execute a bash script in terminal 
Shell :: vmd in terminal 
Shell :: bash calculate sum 
Shell :: create ssh key for github 
Shell :: linux create link to folder 
Shell :: List all installed programs or desktop application 
Shell :: uninstall git 
Shell :: screenshot to clipboard ubuntu 20 
Shell :: yarn global 
Shell :: how to ignore folder in gitignore duplicate 
Shell :: where is my ubuntu folder located 
Shell :: remove all files in a directory linux that match pattern 
Shell :: linux install pycharm command line without snap 
Shell :: redis client find key 
Shell :: how to use compress zip cli linux 
Shell :: ubuntu find text in files 
Shell :: installing gnome 
Shell :: assigning permissions to folder and files in linux 
Shell :: start of .sh file 
Shell :: bash get path of command 
Shell :: gitignore is not working 
Shell :: how to check version of package centos 
Shell :: bash read 
Shell :: mvn clean install skip checkstyle 
Shell :: create ssh key 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =