-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add exlude list, preserve README.md, allow multiple branches per repo…
…, lint and pretty code. (#66) * lint & pretty * add exlude array * do not delete README.md at end of script to preserve the file if a user wants to modify its contents locally * only create README.md when it does not yet exist in the backup folder * move like 20 to one line instead of multi-line * remove cherrypicks line as no longer needed * add the untrack line so that new additions to exclude are pushed to remote repo. * change branch check so that if the branch name does not match the currently checked out branch we change to it or create and change it, instead of the current process of renaming the branch entirely. This allows for one git repo to be used for backups of multiple printers by having diffent named branches for each * update comments for exclude code * update printout when branch switch occurs * removed end of line 37. as git already prints out the changing of branch to the new line * branch code should now work properly
- Loading branch information
Showing
2 changed files
with
49 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters