Skip to content

quantimnot/personal_git_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIT

Ignore File Sections

I would like to be able to ignore sections of files to that I can have inline working notes that don't get committed. I think this would be useful when tracking tasks and time within source files.

https://stackoverflow.com/questions/16244969/how-to-tell-git-to-ignore-individual-lines-i-e-gitignore-for-specific-lines-of

See Also

Sparse Repository

check if dirty

convert to shallow

vcs history editor

Tips

Create branch without history: git checkout --orphan

Reuse commit message after reset: git commit -C @@{1} or git commit -C HEAD@{1} or git commit --reuse-message=HEAD@{1} or git commit --reuse-message=ORIG_HEAD See https://stackoverflow.com/questions/16858069/git-how-to-reuse-retain-commit-messages-after-git-reset

About

git configs and extensions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published