Skip to content

pedrofernandesfilho/poshfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pedro Fernandes Filho's PowerShell files

Installation:

You may need to adjust the execution policy:

Set-ExecutionPolicy Bypass
git clone https://github.com/pedrofernandesfilho/poshfiles.git $HOME\Documents\WindowsPowerShell
cd $HOME\Documents\WindowsPowerShell
git submodule update --init --recursive
. $PROFILE

Update local repository:

git pull
git submodule update --init --recursive
. $PROFILE

Actualize submodules to latest commit:

git submodule update --recursive --remote

Screenshot

Windows Terminal
Windows Terminal

Modules

  • PoshGit
  • Z

Aliases

Docker

dk = docker
dkc = docker-compose
dkcsta = docker-compose start
dkcstp = docker-compose stop
dkis = docker images
dks = docker start

DOTNET

dn = dotnet
dnb = dotnet build
dnbni = dotnet build --no-incremental
dnc = dotnet clean
dni = dotnet clean --info
dnlr = dotnet --list-runtimes
dnls = dotnet --list-sdks
dnr = dotnet run
dnre = dotnet restore
dnt = dotnet test
dnv = dotnet --version

Git

gadd = git add
gbranch = git branch
gbrancha = git branch -a
gcl = git clone
gco = git checkout
gcob = git checkout -b
gct = git commit
gcta = git commit --amend
gcts = git commit -S
gctsv = git commit -S -v
gctv = git commit -v
gdif = git diff
gdiff = git diff
gfetch = git fetch
gk = gitk
glog = git log
glogo = git log --oneline
gpull = git pull
gpullr = git pull -r
gpush = git push
gpushf = git push -f
gpushu = git push -u
grb = git rebase
gremote = git remote
gremotev = git remote -v
gspushp = git subtree push --prefix
gst = git status
gsta = git stash
gstal = git stash list
gstap = git stash pop
gstau = git stash -u

PowerShell

c = clear
e = exit
l = ls
ll = ls -Force
poshadm = Start-Process powershell -verb runas
s = start

SQL Local DB

sld = SqlLocalDB
sldi = SqlLocalDB i (info)
sldp = SqlLocalDB p (stop)
slds = SqlLocalDB s (start)
sldv = SqlLocalDB v (versions)

About

My PowerShell files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published