brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| #! /bin/bash | |
| # | |
| # create_instances.sh | |
| # Copyright (C) 2016 dhilipsiva <[email protected]> | |
| # | |
| # Distributed under terms of the MIT license. | |
| # | |
| INSTANCES=3 | |
| PREFIX_APP="deisdemo-" |
| # Initial Setup # | |
| ################# | |
| #The command to run, built from the raw link of this gist | |
| #START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/cygnull/9546ec8639da7849d3a4098a7ee9a8c7/raw/0ad14b79d360826d83ff462eb072649578ae7d6a/Boxstarter-InitialSetup.txt | |
| #As described here: http://boxstarter.org/Learn/WebLauncher | |
| ######################################### | |
| # Set Execution Policy and Disable UAC # |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
> git config --global --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"
$ git fetch origin
| git log --name-only | grep xaml | sort | uniq -c | sort -Descending > xaml-files-by-tfs-commit-count.txt | |
| What it does: | |
| - looks at the git log file, retrieving just the filenames; | |
| - greps to extract xaml filenames; | |
| - sorts the list of files to get the duplicates together; | |
| - eliminates the duplicates but keeps a count of them; | |
| - resorts the file names by that count; and | |
| - writes the list to a txt file named xaml-files-by-tfs-commit-count.txt |