When `git load` is invoked it will check if the subject of the `HEAD` commit message is `temp!`, if it is when the commit will be reset, otherwise an error message is output and the commit remains untouched.
		
			
				
	
	
	
		
			1.7 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.7 KiB
		
	
	
	
	
	
	
	
Git Configuration
Aliases
A set of Git aliases which follow the idea "say what you mean" rather than remember the plumbing term of a specific command.
abandonabandons all local changes leave a clean repository.amendamends the last commit, shorthand forgit commit --amend.unstageunstage staged changes, shorthand forgit reset -q HEAD --.squashperform an interactive rebase to squash all commits since branching, shorthand forgit rebase -i --fork-point.listlist local branches, a shorthand forgit branch.createcreates a new branch, shorthand forgit checkout -b.deletedeletes an existing branch, shorthand forgit branch -D.namethe name of the current branch.lastthe name of the last branch checked out before the current branch.checkout-lastcheckout the last branch, shorthand forgit checkout $(git last).publishpush and set the tracking branch of a local branch to origin, shorthand forgit push -u origin <branch>.unpublishdelete a remote branch, shorthand forgit push origin :<branch>.forceforce push local changes to the remote, shorthand forgit push --force-with-lease.changescompare the list of commits on the local branch to another branch, e.g. when on a feature branchgit changes masterlists the commits which are not present on the master branch.savelike pushing to the stash but attached to the current branch, shorthand forgit commit -am "temp!".loadlike popping from the stash but attached to the current branch, ifHEADhas the subjecttemp!thengit reset --mixed HEAD~is executed, otherwise the messageerror: commit subject is not: temp!is output.