i'm a nerd π€
OS | Command | Description |
---|---|---|
πͺ π§ | reload |
reloads shell profile |
πͺ π§ | update |
execute updates |
π§ | init |
creates a project from template |
Type | Command | Description/Value |
---|---|---|
command | git ignore |
fetches ignore file: git ignore go > .gitignore |
git init
git remote add origin https://github.com/cethien/dotfiles-and-scripts.git
git fetch
git reset --hard origin/win
git pull --set-upstream origin win
. "$env:USERPROFILE/scripts/setup.ps1" -Profiles <profiles>
Profile | Description |
---|---|
customizing |
customization stuff |
home |
some stuff on a personal desktop |
dev |
development stuff |
gaming |
games & launchers |
git init -b wsl-deb
git remote add origin https://github.com/cethien/dotfiles-and-scripts.git
git fetch
git reset --hard origin/wsl-deb
git pull --set-upstream origin wsl-deb
. $HOME/scripts/setup.sh
dont forget to set git username and email for repo!
useful script for backing up folders
- create a environment variable
BACKUP
- create script for backing up:
. $env:USERPROFILE/scripts/create-folder-backup.ps1
(optional): create .backupignore
file:
folder1\
folder2\
config.ini