Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git log

git log  # show commits
git log -p  # show diff files
git log -p <path>  # show diff specified files
Comment

git log

$ git log
# git log lists the commits made in that repository in reverse chronological order
Comment

git log

# show in terminal by this command
git log --reflog
# show message just
git log --all --oneline
# use gui git by this command
gitk
# or use git desktop
https://desktop.github.com/
#and other gui-git
https://git-scm.com/downloads/guis
Comment

git log

git log #show all commits/hash #'s, messages, dates, author information
git log --graph #shows a graphical link between commits, branches, merges, etc.
git log --graph --online #Same as"git log --graph", but condenses information
Comment

git logline

$ git config --global alias.logline "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
$ git logline

this will:
-one commit per line

-show graph of commits

-abbreviated commit IDs

-dates relative to now

-show commit references (like git log --decorate)

-lots of colour

-show author of the commit
Comment

PREVIOUS NEXT
Code Example
Shell :: install docker on windows server 2019 
Shell :: what is bin/bash 
Shell :: mongodb database not connected docker 
Shell :: how to get all branches from gitlab repository 
Shell :: uninstall 
Shell :: GIT: create repo 
Shell :: ubuntu default tmux shell 
Shell :: env file in firebase 
Shell :: sudo gem install cocoapods-deintegrate cocoapods-clean 
Shell :: bash substract varible 
Shell :: fish set environment variable 
Shell :: ssh copy to clipboard 
Shell :: install pycharm ubuntu 
Shell :: how to view the list of your environments in your terminal or Anaconda prompt 
Shell :: How to create and extract an archive or .tar file using linux commands 
Shell :: csv to markdown table 
Shell :: git pull branch you are not on 
Shell :: cut delimiter spaces 
Shell :: git revert a specific file 
Shell :: write in a file linux 
Shell :: git rebase onto 
Shell :: small size centos7 gui 
Shell :: kubectl jq json pod name 
Shell :: how to install bash script on mac terminal 
Shell :: v4l2 not found 
Shell :: installation caffe 
Shell :: jq for xml 
Shell :: snap install fingerprint 
Shell :: how to provide 777 access recurssively unix 
Shell :: postgresql user permissions to database 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =