Skip to content

Personal repository to test advanced Git tips, tricks and techniques.

Notifications You must be signed in to change notification settings

alex-lalev/advanced-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

advanced-git

Personal repository to test some handy & more advanced Git techniques.

Global Git User Configuration Commands:

git config --global user.name "#"
git config --global user.email "#"

Remove --global for local project specific config

Getting Detailed or One-line Git log history output:

git log --oneline
git log --patch

The three options of Git Reset:

git reset --soft (moving the changes to your staging area)
git reset --mixed $commitId (moving the changes to your working directory)
git reset --hard (moving the changes to your recycle bin)

Tagging and Releases:

git tag $tag_name $branch_name (lightweight)
git tag -a v0.1 -m "V0.1 Release" $commit_id (annotated)
git push --tags

About

Personal repository to test advanced Git tips, tricks and techniques.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published