9 lines
421 B
Bash
Executable File
9 lines
421 B
Bash
Executable File
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
|
config checkout --orphan newBranch
|
|
config add -A # Add all files and commit them
|
|
config commit -m "reinit"
|
|
config branch -D master # Deletes the master branch
|
|
config branch -m master # Rename the current branch to master
|
|
config push -f origin master # Force push master branch to github
|
|
config gc --aggressive --prune=all # remove the old files
|