Steps on how to create fork-repo from your own original-repo
- Create a new empty
fork-reporepository on Github
- Clone
fork-repo
| # path format | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
| } | |
| export PS1="\e[91m\u\e[33;40m@\H:\[\033[32m\]\w\[\033[36m\]\$(parse_git_branch)\[\033[00m\] $ " |
| # !/bin/bash | |
| backup_dir="" | |
| #String to append to the name of the backup files | |
| backup_date=`date +%d-%m-%Y` | |
| db="" | |
| #Numbers of days you want to keep copie of your databases | |
| pg_dump -b --data-only -T '"SequelizeMeta"' $db>$backup_dir/$db\_$backup_date.sql |