Git

Git Notes

Contains notes about using git

Suraj Deshmukh

8 minute read

Notes about using git. Tips and tricks Switch branches $ git checkout <branch> status $ git status -sb Show status in short format and also give branch info show $ git show Shows log message and diff about the commit you are on. log $ git log -L 70,100:pkg/transformer/kubernetes/kubernetes.go Get logs on file between line numbers. $ git log –graph –abbrev-commit Show graph in logs.