Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 376 Bytes

GIT.md

File metadata and controls

23 lines (20 loc) · 376 Bytes
git checkout -B [branch name]
git commit -am "[comment]"
git push origin [branch name]

change permission on file

git update-index --chmod=+x script.sh

Alias

[alias]
  co = checkout
  ci = commit
  st = status
  br = branch
  hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
  type = cat-file -t
  dump = cat-file -p