User Tools

Site Tools


git_notes

This is an old revision of the document!


dummy

stackoverflow answers I came across

show which branch is linked to which remote branch

rename a branch that has already been pushed

show contents of a deleted file

git show HEAD^:full/path/to/file/from/top/dir/of/the/repository

See also:

git grep commands

dokuwiki table syntax

git grep -i --all-match -e '\^.*\^' -e '|.*|'

git commands usage

git cherry-pick

git cherry-pick <Commit1> <Commit2> <...>

Ref:-

frequently used

newly created repo

git config user.name "Kamaraju S. Kusumanchi"
git config user.email "kamaraju@gmail.com"

for git $\geq$ 2.23.0

git -c advice.detachedHead=false pull --rebase --autostash -v origin

for git $\leq$ 2.20.1

git pull --rebase --autostash -v origin

used in | https://github.com/KamarajuKusumanchi/rutils/blob/master/bin/git-up

git_notes.1615988157.txt.gz · Last modified: 2021/03/17 13:35 by raju