brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| using System; | |
| using UnityEngine; | |
| /// <summary> | |
| /// This is a generic Singleton implementation for Monobehaviours. | |
| /// Create a derived class where the type T is the script you want to "Singletonize" | |
| /// Upon loading it will call DontDestroyOnLoad on the gameobject where this script is contained | |
| /// so it persists upon scene changes. | |
| /// </summary> | |
| /// <remarks> |
| using UnityEngine; | |
| /* | |
| * Most functions taken from Tween.js - Licensed under the MIT license | |
| * at https://github.com/sole/tween.js | |
| * Quadratic.Bezier by @fonserbc - Licensed under WTFPL license | |
| */ | |
| public delegate float EasingFunction(float k); | |
| public class Easing |
| # | |
| # Working with branches | |
| # | |
| # Get the current branch name (not so useful in itself, but used in | |
| # other aliases) | |
| branch-name = "!git rev-parse --abbrev-ref HEAD" | |
| # Push the current branch to the remote "origin", and set it to track | |
| # the upstream branch | |
| publish = "!git push -u origin $(git branch-name)" |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"