F U T U R E
New in: | Modified in: | Obsolete in: | Excised in:
??
Created by: jfultz on 05-12-2015 08:27:34
Categorization
Synonyms
Keywords
Syntax Templates
Details
GitResetRepo
GitResetRepo[repo,ref]
ref
GitResetRepo[repo,ref,mode]
ref
mode
mode
"Soft" | reset only the HEAD pointer | |
"Mixed" | reset the HEAD pointer and the index | |
"Hard" | reset the HEAD pointer, index, and working tree |
GitResetRepo[repo,ref]
GitResetRepo[repo,ref,"Mixed"]
GitResetRepo[repo,ref,"Hard"]
.gitignore
GitResetRepo
To reset an individual file rather than a branch, use .
Tutorials
XXXX
Related Demonstrations
XXXX
Related Links
XXXX
See Also
More About
Autogenerated
Extensions / Related Packages
XXXX
Examples |
More Examples
Scope
Generalizations & Extensions
Options
Applications
Move the a local branch to match origin/master, resetting all changed files in the process:
GitResetRepo[r,"origin/master","HARD"]
...........
Reset the default branch to without touching the working directory or index:
branch1
GitResetRepo[r,"branch1","Soft"]
...........
Forcefully remove all local changes while leaving untracked files untouched:
GitResetRepo[r,"HEAD","HARD"]
Properties & Relations
Possible Issues
Interactive Examples
Neat Examples
Design Discussion
XXXX
Application Notes
XXXX
Test Cases
Function Essay
XXXX