Skip to content

dham6983/my-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Few Setup I used in my bash profile

GitHub Workflow Status GitHub repo size

Finding git branch during runtime

git_branch() 
{ 
   git branch 2>/dev/null | grep '^*' | colrm 1 2 
} 

Updating PS1

export PS1="[\d \t\[\033[36m\] \u@\h:\[\033[32m\]\w\[\033[33m\] \$(git_branch)\[\033[00m\]]$ "

For nice view of git log

alias graph="git log --all --decorate --oneline --graph"

GIT_SSH_COMMAND usage

GIT_SSH_COMMAND="ssh -i ~/.ssh/personal-learning-id-rsa" git push origin main

About

Setup I used for developments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published