mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
More git aliases
This commit is contained in:
12
.aliases
12
.aliases
@@ -59,11 +59,17 @@ alias remove="sudo apt-get remove "
|
|||||||
# Git
|
# Git
|
||||||
# To use this - Ensure all git server SSH are in ~/.ssh
|
# To use this - Ensure all git server SSH are in ~/.ssh
|
||||||
alias git_signin='(for i in ~/.ssh/{*github*,*bitbucket*,*gitea*,*gitlab*,*gog*}; do ssh-add -k $i; done; ) && (echo; echo Identities added successfully)'
|
alias git_signin='(for i in ~/.ssh/{*github*,*bitbucket*,*gitea*,*gitlab*,*gog*}; do ssh-add -k $i; done; ) && (echo; echo Identities added successfully)'
|
||||||
|
git_push_all_changes(){
|
||||||
|
git add . && git stage . && git commit -m "${1}" && git push
|
||||||
|
}
|
||||||
|
|
||||||
# For servers
|
# For servers
|
||||||
alias ngt="sudo nginx -t"
|
alias ngt="sudo nginx -t"
|
||||||
alias ngreset="sudo systemctl restart nginx"
|
alias ngrestart="sudo systemctl restart nginx"
|
||||||
alias ngreload="sudo systemctl reload nginx"
|
alias ngreload="sudo systemctl reload nginx"
|
||||||
alias ngstop="sudo systemctl stop nginx"
|
alias ngstop="sudo systemctl stop nginx"
|
||||||
alias tunnel_web='ssh -NL 8080:127.0.0.1:22222 '
|
alias fpmreset71="sudo systemctl restart php7.1-fpm"
|
||||||
|
alias fpmreset72="sudo systemctl restart php7.2-fpm"
|
||||||
|
alias fpmreset73="sudo systemctl restart php7.3-fpm"
|
||||||
|
alias fpmreset74="sudo systemctl restart php7.4-fpm"
|
||||||
|
alias tunnel_web22222='ssh -NL 8080:127.0.0.1:22222 '
|
||||||
@@ -34,6 +34,7 @@ ViewPropsTimestamp=2019,3,8,12,20,14
|
|||||||
[IconsMode]
|
[IconsMode]
|
||||||
FontWeight=50
|
FontWeight=50
|
||||||
IconSize=80
|
IconSize=80
|
||||||
|
PreviewSize=48
|
||||||
|
|
||||||
[KPropertiesDialog]
|
[KPropertiesDialog]
|
||||||
Height 768=478
|
Height 768=478
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ main_height=703
|
|||||||
main_maximize=false
|
main_maximize=false
|
||||||
main_sort_column_id=1
|
main_sort_column_id=1
|
||||||
main_sort_order=0
|
main_sort_order=0
|
||||||
expanded_group=OVH,Routers
|
expanded_group=Hetzner,OVH,Routers
|
||||||
toolbar_pin_down=false
|
toolbar_pin_down=false
|
||||||
sshtunnel_port=4732
|
sshtunnel_port=4732
|
||||||
applet_new_ontop=false
|
applet_new_ontop=false
|
||||||
@@ -61,6 +61,7 @@ rdp_quality_9=80
|
|||||||
rdp_deviceScaleFactor=0
|
rdp_deviceScaleFactor=0
|
||||||
rdp_desktopScaleFactor=0
|
rdp_desktopScaleFactor=0
|
||||||
rdp_desktopOrientation=0
|
rdp_desktopOrientation=0
|
||||||
|
recent_SSH=51.38.124.34
|
||||||
|
|
||||||
[ssh_colors]
|
[ssh_colors]
|
||||||
background=rgb(1,17,22)
|
background=rgb(1,17,22)
|
||||||
|
|||||||
Reference in New Issue
Block a user